Package net.webpdf.wsclient.openapi
Class MetadataRectangle
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataRectangle
-
public class MetadataRectangle extends Object
Defines a rectangular area/box.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HEIGHTstatic StringJSON_PROPERTY_WIDTHstatic StringJSON_PROPERTY_Xstatic StringJSON_PROPERTY_Y
-
Constructor Summary
Constructors Constructor Description MetadataRectangle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable FloatgetHeight()The height of the rectangle in points.@Nullable FloatgetWidth()The width of the rectangle in points.@Nullable FloatgetX()The x coordinate in points.@Nullable FloatgetY()The y coordinate in points.inthashCode()MetadataRectangleheight(Float height)voidsetHeight(Float height)voidsetWidth(Float width)voidsetX(Float x)voidsetY(Float y)StringtoString()MetadataRectanglewidth(Float width)MetadataRectanglex(Float x)MetadataRectangley(Float y)
-
-
-
Field Detail
-
JSON_PROPERTY_HEIGHT
public static final String JSON_PROPERTY_HEIGHT
- 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
-
height
public MetadataRectangle height(Float height)
-
getHeight
@Nullable public @Nullable Float getHeight()
The height of the rectangle in points.- Returns:
- height
-
setHeight
public void setHeight(Float height)
-
width
public MetadataRectangle width(Float width)
-
getWidth
@Nullable public @Nullable Float getWidth()
The width of the rectangle in points.- Returns:
- width
-
setWidth
public void setWidth(Float width)
-
x
public MetadataRectangle x(Float x)
-
getX
@Nullable public @Nullable Float getX()
The x coordinate in points.- Returns:
- x
-
setX
public void setX(Float x)
-
y
public MetadataRectangle y(Float y)
-
getY
@Nullable public @Nullable Float getY()
The y coordinate in points.- Returns:
- y
-
setY
public void setY(Float y)
-
-