Class MetadataFont


  • public class MetadataFont
    extends Object
    Defines a font format for a displayable page content.
    • Constructor Detail

      • MetadataFont

        public MetadataFont()
    • Method Detail

      • getName

        @Nullable
        public @Nullable String getName()
        The name of the used font.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getSize

        @Nullable
        public @Nullable Float getSize()
        The size of the font.
        Returns:
        size
      • setSize

        public void setSize​(Float size)
      • getUnderline

        @Nullable
        public @Nullable Boolean getUnderline()
        When set to true, the text shall be underlined.
        Returns:
        underline
      • setUnderline

        public void setUnderline​(Boolean underline)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object