Package net.webpdf.wsclient.openapi
Class OperationFreeTextFont
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationFreeTextFont
-
public class OperationFreeTextFont extends Object
A font definition for textual annotation types.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BOLDstatic StringJSON_PROPERTY_COLORstatic StringJSON_PROPERTY_ITALICstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_SIZE
-
Constructor Summary
Constructors Constructor Description OperationFreeTextFont()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationFreeTextFontbold(Boolean bold)OperationFreeTextFontcolor(String color)booleanequals(Object o)@Nullable BooleangetBold()Used to increase the text output's weight.@Nullable StringgetColor()Used to set the font color.@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 IntegergetSize()Used to set the text size for the text output.inthashCode()OperationFreeTextFontitalic(Boolean italic)OperationFreeTextFontname(String name)voidsetBold(Boolean bold)voidsetColor(String color)voidsetItalic(Boolean italic)voidsetName(String name)voidsetSize(Integer size)OperationFreeTextFontsize(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_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
bold
public OperationFreeTextFont 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 OperationFreeTextFont color(String color)
-
getColor
@Nullable public @Nullable String getColor()
Used to set the font color. 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 OperationFreeTextFont 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 OperationFreeTextFont 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.- Returns:
- name
-
setName
public void setName(String name)
-
size
public OperationFreeTextFont 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)
-
-