Class CGFont

All Implemented Interfaces:
AutoCloseable

public class CGFont
extends CFType
  • Field Details

  • Constructor Details

    • CGFont

      protected CGFont()
  • Method Details

    • getGlyphAdvances

      public int[] getGlyphAdvances​(char[] glyphs)
    • getGlyphBBoxes

      public CGRect[] getGlyphBBoxes​(char[] glyphs)
    • getClassTypeID

      public static long getClassTypeID()
    • create

      public static CGFont create​(CGDataProvider provider)
    • create

      public static CGFont create​(String name)
    • getNumberOfGlyphs

      public long getNumberOfGlyphs()
    • getUnitsPerEm

      public int getUnitsPerEm()
    • getPostScriptName

      public String getPostScriptName()
    • getFullName

      public String getFullName()
    • getAscent

      public int getAscent()
    • getDescent

      public int getDescent()
    • getLeading

      public int getLeading()
    • getCapHeight

      public int getCapHeight()
    • getXHeight

      public int getXHeight()
    • getFontBBox

      public CGRect getFontBBox()
    • getItalicAngle

      public double getItalicAngle()
    • getStemV

      public double getStemV()
    • getVariationAxes

      public List<CGFontVariationAxis> getVariationAxes()
    • getVariations

      public Map<String,​NSNumber> getVariations()
    • getGlyphForName

      public char getGlyphForName​(String name)
    • getNameForGlyph

      public String getNameForGlyph​(char glyph)