Class OperationFreeTextFont


  • public class OperationFreeTextFont
    extends Object
    A font definition for textual annotation types.
    • Constructor Detail

      • OperationFreeTextFont

        public OperationFreeTextFont()
    • Method Detail

      • getBold

        @Nullable
        public @Nullable Boolean getBold()
        Used to increase the text output's weight.
        Returns:
        bold
      • setBold

        public void setBold​(Boolean bold)
      • 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)
      • 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)
      • 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object