Class FontMode.Builder

  • Enclosing class:
    FontMode

    public static class FontMode.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withColor

        public FontMode.Builder withColor​(java.lang.String color)
        Color of the font decoration of label. Default value is color of base font declaration.
      • withSize

        public FontMode.Builder withSize​(java.lang.Integer size)
        Size of the font decoration of a label. Default value is size of base font declaration.
      • withFace

        public FontMode.Builder withFace​(java.lang.String face)
        Font face of the font decoration of a label. Default value is font face of base font declaration.
      • withMod

        public FontMode.Builder withMod​(java.lang.String mod)
        A string added to the face and size to determining a font decoration. Possible values are bold, italic.
      • withVadjust

        public FontMode.Builder withVadjust​(java.lang.String vadjust)
        Font specific correction of the vertical positioning. Default value is 0.