Package net.webpdf.wsclient.openapi
Class OperationWatermarkFont
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationWatermarkFont
-
public class OperationWatermarkFont extends Object
Used to specify the font used for a watermark.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BOLDstatic StringJSON_PROPERTY_COLORstatic StringJSON_PROPERTY_ITALICstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_OPACITYstatic StringJSON_PROPERTY_OUTLINEstatic StringJSON_PROPERTY_SIZE
-
Constructor Summary
Constructors Constructor Description OperationWatermarkFont()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationWatermarkFontbold(Boolean bold)OperationWatermarkFontcolor(String color)booleanequals(Object o)@Nullable BooleangetBold()Used to increase the text output's weight.@Nullable StringgetColor()Used to set the colour for the watermark.@Nullable BooleangetItalic()Used to set the italic font posture for the text output.@Nullable StringgetName()Used to specify the name of the font that should be used for the text output.@Nullable IntegergetOpacity()Used to set the opacity of the text output as a watermark.@Nullable BooleangetOutline()Uses an outline font for the text output.@Nullable IntegergetSize()Used to set the text size for the text output.inthashCode()OperationWatermarkFontitalic(Boolean italic)OperationWatermarkFontname(String name)OperationWatermarkFontopacity(Integer opacity)OperationWatermarkFontoutline(Boolean outline)voidsetBold(Boolean bold)voidsetColor(String color)voidsetItalic(Boolean italic)voidsetName(String name)voidsetOpacity(Integer opacity)voidsetOutline(Boolean outline)voidsetSize(Integer size)OperationWatermarkFontsize(Integer size)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BOLD
public static final String JSON_PROPERTY_BOLD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COLOR
public static final String JSON_PROPERTY_COLOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ITALIC
public static final String JSON_PROPERTY_ITALIC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPACITY
public static final String JSON_PROPERTY_OPACITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OUTLINE
public static final String JSON_PROPERTY_OUTLINE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
bold
public OperationWatermarkFont bold(Boolean bold)
-
getBold
@Nullable public @Nullable Boolean getBold()
Used to increase the text output's weight.- Returns:
- bold
-
setBold
public void setBold(Boolean bold)
-
color
public OperationWatermarkFont color(String color)
-
getColor
@Nullable public @Nullable String getColor()
Used to set the colour for the watermark. The hereby defined color needs to be specified as a hexadecimal RGB value with a number sign before it.- Returns:
- color
-
setColor
public void setColor(String color)
-
italic
public OperationWatermarkFont italic(Boolean italic)
-
getItalic
@Nullable public @Nullable Boolean getItalic()
Used to set the italic font posture for the text output.- Returns:
- italic
-
setItalic
public void setItalic(Boolean italic)
-
name
public OperationWatermarkFont name(String name)
-
getName
@Nullable public @Nullable String getName()
Used to specify the name of the font that should be used for the text output. If a font is not specified, \"Helvetica\" will be used.- Returns:
- name
-
setName
public void setName(String name)
-
opacity
public OperationWatermarkFont opacity(Integer opacity)
-
getOpacity
@Nullable public @Nullable Integer getOpacity()
Used to set the opacity of the text output as a watermark. minimum: 0 maximum: 100- Returns:
- opacity
-
setOpacity
public void setOpacity(Integer opacity)
-
outline
public OperationWatermarkFont outline(Boolean outline)
-
getOutline
@Nullable public @Nullable Boolean getOutline()
Uses an outline font for the text output.- Returns:
- outline
-
setOutline
public void setOutline(Boolean outline)
-
size
public OperationWatermarkFont size(Integer size)
-
getSize
@Nullable public @Nullable Integer getSize()
Used to set the text size for the text output. minimum: 1 maximum: 1296- Returns:
- size
-
setSize
public void setSize(Integer size)
-
-