Class FontStyle


  • public class FontStyle
    extends java.lang.Object
    • Field Detail

      • _value

        public final int _value
      • NORMAL

        public static final FontStyle NORMAL
      • ITALIC

        public static final FontStyle ITALIC
      • BOLD_ITALIC

        public static final FontStyle BOLD_ITALIC
    • Constructor Detail

      • FontStyle

        public FontStyle​(int weight,
                         int width,
                         FontSlant slant)
      • FontStyle

        @Internal
        public FontStyle​(int value)
    • Method Detail

      • getWeight

        public int getWeight()
      • withWeight

        public FontStyle withWeight​(int weight)
      • getWidth

        public int getWidth()
      • withWidth

        public FontStyle withWidth​(int width)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object