Package net.webpdf.wsclient.openapi
Class OperationPaddedRectangle
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationPaddedRectangle
-
public class OperationPaddedRectangle extends Object
Used to select a rectangle and define a padding for it's contents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationPaddedRectangle.CoordinatesEnumUsed to define the coordinate system and, accordingly, the origin for the position argumentsstatic classOperationPaddedRectangle.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 = Inches
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BOTTOMstatic StringJSON_PROPERTY_COORDINATESstatic StringJSON_PROPERTY_HEIGHTstatic StringJSON_PROPERTY_LEFTstatic StringJSON_PROPERTY_METRICSstatic StringJSON_PROPERTY_RIGHTstatic StringJSON_PROPERTY_TOPstatic StringJSON_PROPERTY_WIDTH
-
Constructor Summary
Constructors Constructor Description OperationPaddedRectangle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationPaddedRectanglebottom(Integer bottom)OperationPaddedRectanglecoordinates(OperationPaddedRectangle.CoordinatesEnum coordinates)booleanequals(Object o)@Nullable IntegergetBottom()The bottom padding value.@Nullable OperationPaddedRectangle.CoordinatesEnumgetCoordinates()Used to define the coordinate system and, accordingly, the origin for the position arguments@Nullable FloatgetHeight()The height dimension.@Nullable IntegergetLeft()The left padding value.@Nullable OperationPaddedRectangle.MetricsEnumgetMetrics()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@Nullable IntegergetRight()The right padding value.@Nullable IntegergetTop()The top padding value.@Nullable FloatgetWidth()The width dimension.inthashCode()OperationPaddedRectangleheight(Float height)OperationPaddedRectangleleft(Integer left)OperationPaddedRectanglemetrics(OperationPaddedRectangle.MetricsEnum metrics)OperationPaddedRectangleright(Integer right)voidsetBottom(Integer bottom)voidsetCoordinates(OperationPaddedRectangle.CoordinatesEnum coordinates)voidsetHeight(Float height)voidsetLeft(Integer left)voidsetMetrics(OperationPaddedRectangle.MetricsEnum metrics)voidsetRight(Integer right)voidsetTop(Integer top)voidsetWidth(Float width)OperationPaddedRectangletop(Integer top)StringtoString()OperationPaddedRectanglewidth(Float width)
-
-
-
Field Detail
-
JSON_PROPERTY_BOTTOM
public static final String JSON_PROPERTY_BOTTOM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COORDINATES
public static final String JSON_PROPERTY_COORDINATES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEIGHT
public static final String JSON_PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEFT
public static final String JSON_PROPERTY_LEFT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_METRICS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RIGHT
public static final String JSON_PROPERTY_RIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOP
public static final String JSON_PROPERTY_TOP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIDTH
public static final String JSON_PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
bottom
public OperationPaddedRectangle bottom(Integer bottom)
-
getBottom
@Nullable public @Nullable Integer getBottom()
The bottom padding value.- Returns:
- bottom
-
setBottom
public void setBottom(Integer bottom)
-
coordinates
public OperationPaddedRectangle coordinates(OperationPaddedRectangle.CoordinatesEnum coordinates)
-
getCoordinates
@Nullable public @Nullable OperationPaddedRectangle.CoordinatesEnum getCoordinates()
Used to define the coordinate system and, accordingly, the origin for the position arguments. * user = User coordinate system (origin at top left) * pdf = PDF coordinate system (origin at bottom left)- Returns:
- coordinates
-
setCoordinates
public void setCoordinates(OperationPaddedRectangle.CoordinatesEnum coordinates)
-
height
public OperationPaddedRectangle height(Float height)
-
getHeight
@Nullable public @Nullable Float getHeight()
The height dimension. minimum: 0- Returns:
- height
-
setHeight
public void setHeight(Float height)
-
left
public OperationPaddedRectangle left(Integer left)
-
getLeft
@Nullable public @Nullable Integer getLeft()
The left padding value.- Returns:
- left
-
setLeft
public void setLeft(Integer left)
-
metrics
public OperationPaddedRectangle metrics(OperationPaddedRectangle.MetricsEnum metrics)
-
getMetrics
@Nullable public @Nullable OperationPaddedRectangle.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(OperationPaddedRectangle.MetricsEnum metrics)
-
right
public OperationPaddedRectangle right(Integer right)
-
getRight
@Nullable public @Nullable Integer getRight()
The right padding value.- Returns:
- right
-
setRight
public void setRight(Integer right)
-
top
public OperationPaddedRectangle top(Integer top)
-
getTop
@Nullable public @Nullable Integer getTop()
The top padding value.- Returns:
- top
-
setTop
public void setTop(Integer top)
-
width
public OperationPaddedRectangle width(Float width)
-
getWidth
@Nullable public @Nullable Float getWidth()
The width dimension. minimum: 0- Returns:
- width
-
setWidth
public void setWidth(Float width)
-
-