Package net.webpdf.wsclient.openapi
Class OperationOptionsMargin
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationOptionsMargin
-
public class OperationOptionsMargin extends Object
Defines the outer offsets between an inner element and an outer element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationOptionsMargin.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_LEFTstatic StringJSON_PROPERTY_METRICSstatic StringJSON_PROPERTY_RIGHTstatic StringJSON_PROPERTY_TOP
-
Constructor Summary
Constructors Constructor Description OperationOptionsMargin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationOptionsMarginbottom(Float bottom)booleanequals(Object o)@Nullable FloatgetBottom()The offset from the bottom edge of the surrounding element.@Nullable FloatgetLeft()The offset from the left edge of the surrounding element.@Nullable OperationOptionsMargin.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 FloatgetRight()The offset from the right edge of the surrounding element.@Nullable FloatgetTop()The offset from the upper edge of the surrounding element.inthashCode()OperationOptionsMarginleft(Float left)OperationOptionsMarginmetrics(OperationOptionsMargin.MetricsEnum metrics)OperationOptionsMarginright(Float right)voidsetBottom(Float bottom)voidsetLeft(Float left)voidsetMetrics(OperationOptionsMargin.MetricsEnum metrics)voidsetRight(Float right)voidsetTop(Float top)OperationOptionsMargintop(Float top)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BOTTOM
public static final String JSON_PROPERTY_BOTTOM
- 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
-
-
Method Detail
-
bottom
public OperationOptionsMargin bottom(Float bottom)
-
getBottom
@Nullable public @Nullable Float getBottom()
The offset from the bottom edge of the surrounding element.- Returns:
- bottom
-
setBottom
public void setBottom(Float bottom)
-
left
public OperationOptionsMargin left(Float left)
-
getLeft
@Nullable public @Nullable Float getLeft()
The offset from the left edge of the surrounding element.- Returns:
- left
-
setLeft
public void setLeft(Float left)
-
metrics
public OperationOptionsMargin metrics(OperationOptionsMargin.MetricsEnum metrics)
-
getMetrics
@Nullable public @Nullable OperationOptionsMargin.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(OperationOptionsMargin.MetricsEnum metrics)
-
right
public OperationOptionsMargin right(Float right)
-
getRight
@Nullable public @Nullable Float getRight()
The offset from the right edge of the surrounding element.- Returns:
- right
-
setRight
public void setRight(Float right)
-
top
public OperationOptionsMargin top(Float top)
-
getTop
@Nullable public @Nullable Float getTop()
The offset from the upper edge of the surrounding element.- Returns:
- top
-
setTop
public void setTop(Float top)
-
-