Package net.webpdf.wsclient.openapi
Class OperationRectangle
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationRectangle
-
public class OperationRectangle extends Object
Used to select a rectangle.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationRectangle.CoordinatesEnumUsed to define the coordinate system and, accordingly, the origin for the position argumentsstatic classOperationRectangle.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_COORDINATESstatic StringJSON_PROPERTY_HEIGHTstatic StringJSON_PROPERTY_METRICSstatic StringJSON_PROPERTY_WIDTHstatic StringJSON_PROPERTY_Xstatic StringJSON_PROPERTY_Y
-
Constructor Summary
Constructors Constructor Description OperationRectangle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationRectanglecoordinates(OperationRectangle.CoordinatesEnum coordinates)booleanequals(Object o)@Nullable OperationRectangle.CoordinatesEnumgetCoordinates()Used to define the coordinate system and, accordingly, the origin for the position arguments@Nullable FloatgetHeight()Height of the rectangle.@Nullable OperationRectangle.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 FloatgetWidth()Width of the rectangle.@Nullable FloatgetX()X-axis position.@Nullable FloatgetY()Y-axis position.inthashCode()OperationRectangleheight(Float height)OperationRectanglemetrics(OperationRectangle.MetricsEnum metrics)voidsetCoordinates(OperationRectangle.CoordinatesEnum coordinates)voidsetHeight(Float height)voidsetMetrics(OperationRectangle.MetricsEnum metrics)voidsetWidth(Float width)voidsetX(Float x)voidsetY(Float y)StringtoString()OperationRectanglewidth(Float width)OperationRectanglex(Float x)OperationRectangley(Float y)
-
-
-
Field Detail
-
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_METRICS
public static final String JSON_PROPERTY_METRICS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIDTH
public static final String JSON_PROPERTY_WIDTH
- 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
-
coordinates
public OperationRectangle coordinates(OperationRectangle.CoordinatesEnum coordinates)
-
getCoordinates
@Nullable public @Nullable OperationRectangle.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(OperationRectangle.CoordinatesEnum coordinates)
-
height
public OperationRectangle height(Float height)
-
getHeight
@Nullable public @Nullable Float getHeight()
Height of the rectangle. minimum: 0- Returns:
- height
-
setHeight
public void setHeight(Float height)
-
metrics
public OperationRectangle metrics(OperationRectangle.MetricsEnum metrics)
-
getMetrics
@Nullable public @Nullable OperationRectangle.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(OperationRectangle.MetricsEnum metrics)
-
width
public OperationRectangle width(Float width)
-
getWidth
@Nullable public @Nullable Float getWidth()
Width of the rectangle. minimum: 0- Returns:
- width
-
setWidth
public void setWidth(Float width)
-
x
public OperationRectangle x(Float x)
-
getX
@Nullable public @Nullable Float getX()
X-axis position. minimum: 0- Returns:
- x
-
setX
public void setX(Float x)
-
y
public OperationRectangle y(Float y)
-
getY
@Nullable public @Nullable Float getY()
Y-axis position. minimum: 0- Returns:
- y
-
setY
public void setY(Float y)
-
-