Package net.webpdf.wsclient.openapi
Class MetadataFont
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataFont
-
public class MetadataFont extends Object
Defines a font format for a displayable page content.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_SIZEstatic StringJSON_PROPERTY_UNDERLINE
-
Constructor Summary
Constructors Constructor Description MetadataFont()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetName()The name of the used font.@Nullable FloatgetSize()The size of the font.@Nullable BooleangetUnderline()When set to true, the text shall be underlined.inthashCode()MetadataFontname(String name)voidsetName(String name)voidsetSize(Float size)voidsetUnderline(Boolean underline)MetadataFontsize(Float size)StringtoString()MetadataFontunderline(Boolean underline)
-
-
-
Field Detail
-
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
-
JSON_PROPERTY_UNDERLINE
public static final String JSON_PROPERTY_UNDERLINE
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public MetadataFont name(String name)
-
getName
@Nullable public @Nullable String getName()
The name of the used font.- Returns:
- name
-
setName
public void setName(String name)
-
size
public MetadataFont size(Float size)
-
getSize
@Nullable public @Nullable Float getSize()
The size of the font.- Returns:
- size
-
setSize
public void setSize(Float size)
-
underline
public MetadataFont underline(Boolean underline)
-
getUnderline
@Nullable public @Nullable Boolean getUnderline()
When set to true, the text shall be underlined.- Returns:
- underline
-
setUnderline
public void setUnderline(Boolean underline)
-
-