Package net.webpdf.wsclient.openapi
Class OperationWatermarkImage
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationWatermarkImage
-
public class OperationWatermarkImage extends Object
Used to add an image as a watermark.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_OPACITYstatic StringJSON_PROPERTY_POSITIONstatic StringJSON_PROPERTY_SCALE
-
Constructor Summary
Constructors Constructor Description OperationWatermarkImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationWatermarkImagedata(OperationWatermarkFileData data)booleanequals(Object o)@NotNull OperationWatermarkFileDatagetData()Get data@Nullable IntegergetOpacity()Used to set the image's opacity.@Nullable OperationWatermarkPositiongetPosition()Get position@Nullable IntegergetScale()Specifies the scaling of the image in percent.inthashCode()OperationWatermarkImageopacity(Integer opacity)OperationWatermarkImageposition(OperationWatermarkPosition position)OperationWatermarkImagescale(Integer scale)voidsetData(OperationWatermarkFileData data)voidsetOpacity(Integer opacity)voidsetPosition(OperationWatermarkPosition position)voidsetScale(Integer scale)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPACITY
public static final String JSON_PROPERTY_OPACITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POSITION
public static final String JSON_PROPERTY_POSITION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCALE
public static final String JSON_PROPERTY_SCALE
- See Also:
- Constant Field Values
-
-
Method Detail
-
data
public OperationWatermarkImage data(OperationWatermarkFileData data)
-
getData
@NotNull public @NotNull OperationWatermarkFileData getData()
Get data- Returns:
- data
-
setData
public void setData(OperationWatermarkFileData data)
-
opacity
public OperationWatermarkImage opacity(Integer opacity)
-
getOpacity
@Nullable public @Nullable Integer getOpacity()
Used to set the image's opacity. A percent value between 0 and 100 is allowed, whereby 0 equals the minimum opacity. The higher the value, the more the content of the PDF document will be covered over. minimum: 0 maximum: 100- Returns:
- opacity
-
setOpacity
public void setOpacity(Integer opacity)
-
position
public OperationWatermarkImage position(OperationWatermarkPosition position)
-
getPosition
@Nullable public @Nullable OperationWatermarkPosition getPosition()
Get position- Returns:
- position
-
setPosition
public void setPosition(OperationWatermarkPosition position)
-
scale
public OperationWatermarkImage scale(Integer scale)
-
getScale
@Nullable public @Nullable Integer getScale()
Specifies the scaling of the image in percent. minimum: 0- Returns:
- scale
-
setScale
public void setScale(Integer scale)
-
-