Package net.webpdf.wsclient.openapi
Class OperationColorBackground
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationColorBackground
-
public class OperationColorBackground extends Object
Adds a solid-color background layer to the document.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COLORstatic StringJSON_PROPERTY_SETTINGS
-
Constructor Summary
Constructors Constructor Description OperationColorBackground()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationColorBackgroundcolor(String color)booleanequals(Object o)@Nullable StringgetColor()Used to set the colour for the background layer.@Nullable OperationBackgroundBaseSettingsgetSettings()Get settingsinthashCode()voidsetColor(String color)voidsetSettings(OperationBackgroundBaseSettings settings)OperationColorBackgroundsettings(OperationBackgroundBaseSettings settings)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COLOR
public static final String JSON_PROPERTY_COLOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SETTINGS
public static final String JSON_PROPERTY_SETTINGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
color
public OperationColorBackground color(String color)
-
getColor
@Nullable public @Nullable String getColor()
Used to set the colour for the background layer. The colour needs to be specified as a hexadecimal RGB value with a number sign before it.- Returns:
- color
-
setColor
public void setColor(String color)
-
settings
public OperationColorBackground settings(OperationBackgroundBaseSettings settings)
-
getSettings
@Nullable public @Nullable OperationBackgroundBaseSettings getSettings()
Get settings- Returns:
- settings
-
setSettings
public void setSettings(OperationBackgroundBaseSettings settings)
-
-