public static final class SignApi.Behaviour.DocSign.Rectangle.Builder extends Object
SignApi.Behaviour.DocSign.Rectangle
s.Modifier and Type | Method and Description |
---|---|
Optional<SignApi.Behaviour.DocSign.Rectangle> |
build() |
static SignApi.Behaviour.DocSign.Rectangle.Builder |
fromBottomLeft(int bottom,
int left,
int width,
int height)
The signature rectangle is to be shown with the given size
with respect to the lower left corner of the device display.
|
static SignApi.Behaviour.DocSign.Rectangle.Builder |
fromBottomLeft(int bottom,
int left,
SignApi.Behaviour.Zoom.Level level)
The signature rectangle is to be shown with the given zoom level
with respect to the lower left corner of the device display.
|
static SignApi.Behaviour.DocSign.Rectangle.Builder |
fromBottomRight(int bottom,
int right,
int width,
int height)
The signature rectangle is to be shown with the given size
with respect to the lower left corner of the device display.
|
static SignApi.Behaviour.DocSign.Rectangle.Builder |
fromBottomRight(int bottom,
int right,
SignApi.Behaviour.Zoom.Level level)
The signature rectangle is to be shown with the given zoom level
with respect to the lower right corner of the device display.
|
static SignApi.Behaviour.DocSign.Rectangle.Builder |
fromTopLeft(int top,
int left,
int width,
int height)
The signature rectangle is to be shown with the given size
with respect to the upper left corner of the device display.
|
static SignApi.Behaviour.DocSign.Rectangle.Builder |
fromTopLeft(int top,
int left,
SignApi.Behaviour.Zoom.Level level)
The signature rectangle is to be shown with the given zoom level
with respect to the upper left corner of the device display.
|
static SignApi.Behaviour.DocSign.Rectangle.Builder |
fromTopRight(int top,
int right,
int width,
int height)
The signature rectangle is to be shown with the given size
with respect to the upper left corner of the device display.
|
static SignApi.Behaviour.DocSign.Rectangle.Builder |
fromTopRight(int top,
int right,
SignApi.Behaviour.Zoom.Level level)
The signature rectangle is to be shown with the given zoom level
with respect to the upper right corner of the device display.
|
SignApi.Behaviour.DocSign.Rectangle.Builder |
withBorderColor(Color color)
Changes the border color.
|
SignApi.Behaviour.DocSign.Rectangle.Builder |
withBorderWidth(int width)
Canges the border width.
|
SignApi.Behaviour.DocSign.Rectangle.Builder |
withColor(Color color)
Chagnes the color.
|
public Optional<SignApi.Behaviour.DocSign.Rectangle> build()
public static SignApi.Behaviour.DocSign.Rectangle.Builder fromBottomLeft(int bottom, int left, SignApi.Behaviour.Zoom.Level level)
bottom
- The distance to the lower border in mm.left
- The distance to the left border in mm.level
- The desired zoom level.public static SignApi.Behaviour.DocSign.Rectangle.Builder fromBottomLeft(int bottom, int left, int width, int height)
bottom
- The distance to the lower border in mm.left
- The distance to the left border in mm.width
- The width in mm.height
- The height in mm.public static SignApi.Behaviour.DocSign.Rectangle.Builder fromBottomRight(int bottom, int right, SignApi.Behaviour.Zoom.Level level)
bottom
- The distance to the lower border in mm.right
- The distance to the right border in mm.level
- The desired zoom level.public static SignApi.Behaviour.DocSign.Rectangle.Builder fromBottomRight(int bottom, int right, int width, int height)
bottom
- The distance to the lower border in mm.right
- The distance to the right border in mm.width
- The width in mm.height
- The height in mm.public static SignApi.Behaviour.DocSign.Rectangle.Builder fromTopLeft(int top, int left, SignApi.Behaviour.Zoom.Level level)
top
- The distance to the upper border in mm.left
- The distance to the left border in mm.level
- The desired zoom level.public static SignApi.Behaviour.DocSign.Rectangle.Builder fromTopLeft(int top, int left, int width, int height)
top
- The distance to the upper border in mm.left
- The distance to the left border in mm.width
- The width in mm.height
- The height in mm.public static SignApi.Behaviour.DocSign.Rectangle.Builder fromTopRight(int top, int right, SignApi.Behaviour.Zoom.Level level)
top
- The distance to the upper border in mm.right
- The distance to the rightborder in mm.level
- The desired zoom level.public static SignApi.Behaviour.DocSign.Rectangle.Builder fromTopRight(int top, int right, int width, int height)
top
- The distance to the upper border in mm.right
- The distance to the rightborder in mm.width
- The width in mm.height
- The height in mm.public SignApi.Behaviour.DocSign.Rectangle.Builder withBorderColor(Color color)
color
- The color.public SignApi.Behaviour.DocSign.Rectangle.Builder withColor(Color color)
color
- The color.public SignApi.Behaviour.DocSign.Rectangle.Builder withBorderWidth(int width)
width
- The desired width.Copyright © 2024. All rights reserved.