Class FontInfo

  • All Implemented Interfaces:
    java.lang.Comparable<FontInfo>
    Direct Known Subclasses:
    FontItem

    public class FontInfo
    extends java.lang.Object
    implements java.lang.Comparable<FontInfo>
    • Constructor Detail

      • FontInfo

        public FontInfo()
      • FontInfo

        public FontInfo​(FontInfo source)
      • FontInfo

        public FontInfo​(java.lang.String typeface,
                        int weight,
                        boolean italic)
      • FontInfo

        public FontInfo​(java.lang.String typeface,
                        int weight,
                        boolean italic,
                        double legacySizeDiff,
                        int stretchDiff)
    • Method Detail

      • getTypeface

        public java.lang.String getTypeface()
      • getWeight

        public int getWeight()
      • getItalic

        public boolean getItalic()
      • getLegacySizeDiff

        public double getLegacySizeDiff()
      • getStretchDiff

        public int getStretchDiff()
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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

        public int compareTo​(FontInfo other)
        Specified by:
        compareTo in interface java.lang.Comparable<FontInfo>