Package net.webpdf.wsclient.openapi
Class OperationPositionBackgroundBaseSettings
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationPositionBackgroundBaseSettings
-
public class OperationPositionBackgroundBaseSettings extends Object
Used to define the position of the background layer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationPositionBackgroundBaseSettings.MetricsEnumUnit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inchesstatic classOperationPositionBackgroundBaseSettings.PositionEnumUses one of multiple preset positions in order to position the background on the page
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_METRICSstatic StringJSON_PROPERTY_POSITIONstatic StringJSON_PROPERTY_Xstatic StringJSON_PROPERTY_Y
-
Constructor Summary
Constructors Constructor Description OperationPositionBackgroundBaseSettings()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_METRICS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POSITION
public static final String JSON_PROPERTY_POSITION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_X
public static final String JSON_PROPERTY_X
- See Also:
- Constant Field Values
-
JSON_PROPERTY_Y
public static final String JSON_PROPERTY_Y
- See Also:
- Constant Field Values
-
-
Method Detail
-
metrics
public OperationPositionBackgroundBaseSettings metrics(OperationPositionBackgroundBaseSettings.MetricsEnum metrics)
-
getMetrics
@Nullable public @Nullable OperationPositionBackgroundBaseSettings.MetricsEnum getMetrics()
Unit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches- Returns:
- metrics
-
setMetrics
public void setMetrics(OperationPositionBackgroundBaseSettings.MetricsEnum metrics)
-
position
public OperationPositionBackgroundBaseSettings position(OperationPositionBackgroundBaseSettings.PositionEnum position)
-
getPosition
@Nullable public @Nullable OperationPositionBackgroundBaseSettings.PositionEnum getPosition()
Uses one of multiple preset positions in order to position the background on the page. * custom = Disable the use of a preset position. * top\\_left = Positions the background in the top left corner. * top\\_center = Positions the background in the centre on the top margin. * top\\_right = Positions the background in the top right corner. * center\\_left = Positions the background at the centre of the page, to the left. * center\\_center = Positions the background at the centre of the page. * center\\_right = Positions the background at the centre of the page, to the right. * bottom\\_left = Positions the background in the bottom left corner. * bottom\\_center = Positions the background in the centre on the bottom margin. * bottom\\_right = Positions the background in the bottom right corner.- Returns:
- position
-
setPosition
public void setPosition(OperationPositionBackgroundBaseSettings.PositionEnum position)
-
x
public OperationPositionBackgroundBaseSettings x(Float x)
-
getX
@Nullable public @Nullable Float getX()
X-axis position of rectangle. minimum: 0- Returns:
- x
-
setX
public void setX(Float x)
-
y
public OperationPositionBackgroundBaseSettings y(Float y)
-
getY
@Nullable public @Nullable Float getY()
Y-axis position of rectangle. minimum: 0- Returns:
- y
-
setY
public void setY(Float y)
-
-