Package net.webpdf.wsclient.openapi
Class OperationAddBackground
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationAddBackground
-
public class OperationAddBackground extends Object
Adds a background image or a solid colour background layer to the document (the \"colorBackground\" and \"imageBackground\" elements are mutually exclusive, i.e., you must select one or the other). A document is not allowed to have more than one background layer.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COLOR_BACKGROUNDstatic StringJSON_PROPERTY_IMAGE_BACKGROUND
-
Constructor Summary
Constructors Constructor Description OperationAddBackground()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationAddBackgroundcolorBackground(OperationColorBackground colorBackground)booleanequals(Object o)@Nullable OperationColorBackgroundgetColorBackground()Get colorBackground@Nullable OperationImageBackgroundgetImageBackground()Get imageBackgroundinthashCode()OperationAddBackgroundimageBackground(OperationImageBackground imageBackground)voidsetColorBackground(OperationColorBackground colorBackground)voidsetImageBackground(OperationImageBackground imageBackground)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COLOR_BACKGROUND
public static final String JSON_PROPERTY_COLOR_BACKGROUND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IMAGE_BACKGROUND
public static final String JSON_PROPERTY_IMAGE_BACKGROUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
colorBackground
public OperationAddBackground colorBackground(OperationColorBackground colorBackground)
-
getColorBackground
@Nullable public @Nullable OperationColorBackground getColorBackground()
Get colorBackground- Returns:
- colorBackground
-
setColorBackground
public void setColorBackground(OperationColorBackground colorBackground)
-
imageBackground
public OperationAddBackground imageBackground(OperationImageBackground imageBackground)
-
getImageBackground
@Nullable public @Nullable OperationImageBackground getImageBackground()
Get imageBackground- Returns:
- imageBackground
-
setImageBackground
public void setImageBackground(OperationImageBackground imageBackground)
-
-