Class FontInfo

java.lang.Object
com.adobe.xfa.font.FontInfo
All Implemented Interfaces:
Comparable<FontInfo>
Direct Known Subclasses:
FontItem

public class FontInfo extends Object implements Comparable<FontInfo>
  • Field Details

  • Constructor Details

    • FontInfo

      public FontInfo()
    • FontInfo

      public FontInfo(FontInfo source)
    • FontInfo

      public FontInfo(String typeface, int weight, boolean italic)
    • FontInfo

      public FontInfo(String typeface, int weight, boolean italic, double legacySizeDiff, int stretchDiff)
  • Method Details

    • getTypeface

      public String getTypeface()
    • getWeight

      public int getWeight()
    • getItalic

      public boolean getItalic()
    • getLegacySizeDiff

      public double getLegacySizeDiff()
    • getStretchDiff

      public int getStretchDiff()
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • createFromAFEDescription

      public static FontInfo createFromAFEDescription(CSS20FontDescription desc)
    • match

      public static boolean match(FontInfo o1, FontInfo o2)
    • hashCode

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

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

      public int compareTo(FontInfo other)
      Specified by:
      compareTo in interface Comparable<FontInfo>