Package net.webpdf.wsclient.openapi
Class OperationPng
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationPng
-
public class OperationPng extends Object
Defines a target PNG image format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationPng.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_DPIstatic StringJSON_PROPERTY_HEIGHTstatic StringJSON_PROPERTY_METRICSstatic StringJSON_PROPERTY_WIDTH
-
Constructor Summary
Constructors Constructor Description OperationPng()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationPngdpi(Integer dpi)booleanequals(Object o)@Nullable IntegergetDpi()This parameter is used to define the image's DPI resolution.@Nullable IntegergetHeight()Used to limit the maximum height of the exported image. 0 = No restriction minimum: 0@Nullable OperationPng.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 IntegergetWidth()Used to limit the maximum width of the exported image. 0 = No restriction minimum: 0inthashCode()OperationPngheight(Integer height)OperationPngmetrics(OperationPng.MetricsEnum metrics)voidsetDpi(Integer dpi)voidsetHeight(Integer height)voidsetMetrics(OperationPng.MetricsEnum metrics)voidsetWidth(Integer width)StringtoString()OperationPngwidth(Integer width)
-
-
-
Field Detail
-
JSON_PROPERTY_DPI
public static final String JSON_PROPERTY_DPI
- 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
-
-
Method Detail
-
dpi
public OperationPng dpi(Integer dpi)
-
getDpi
@Nullable public @Nullable Integer getDpi()
This parameter is used to define the image's DPI resolution. The larger the value, the larger the image's x, y resolution. In addition, the larger the DPI resolution, the larger the size of the image file. minimum: 0 maximum: 9600- Returns:
- dpi
-
setDpi
public void setDpi(Integer dpi)
-
height
public OperationPng height(Integer height)
-
getHeight
@Nullable public @Nullable Integer getHeight()
Used to limit the maximum height of the exported image. 0 = No restriction minimum: 0- Returns:
- height
-
setHeight
public void setHeight(Integer height)
-
metrics
public OperationPng metrics(OperationPng.MetricsEnum metrics)
-
getMetrics
@Nullable public @Nullable OperationPng.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(OperationPng.MetricsEnum metrics)
-
width
public OperationPng width(Integer width)
-
getWidth
@Nullable public @Nullable Integer getWidth()
Used to limit the maximum width of the exported image. 0 = No restriction minimum: 0- Returns:
- width
-
setWidth
public void setWidth(Integer width)
-
-