public class FontInstance extends Object implements Comparable<FontInstance>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FontInstance other) |
boolean |
equals(Object object) |
Font |
getAFEFont() |
UnitSpan |
getAscent() |
float |
getCharWidth(int c,
boolean useHorizontalGlyphs) |
UnitSpan |
getDescent() |
double |
getDoubleCharWidth(int c,
boolean useHorizontalGlyphs) |
FontItem |
getFontItem() |
int |
getGlyphID(int c) |
boolean |
getGlyphID(int c,
int g,
boolean h) |
float |
getGlyphWidth(int glyphID,
boolean useHorizontalGlyphs) |
double |
getHorizontalScale() |
boolean |
getItalic() |
UnitSpan |
getLegacyAscent() |
UnitSpan |
getLegacyLineGap() |
UnitSpan |
getLineGap() |
UnitSpan |
getSize() |
UnitSpan |
getspacing() |
String |
getTypeface() |
double |
getVerticalScale() |
int |
getWeight() |
int |
hashCode() |
void |
mapGlyph(int c,
int glyphID) |
static boolean |
match(FontInstance o1,
FontInstance o2) |
public FontItem getFontItem()
public Font getAFEFont()
public String getTypeface()
public int getWeight()
public boolean getItalic()
public UnitSpan getSize()
public double getHorizontalScale()
public double getVerticalScale()
public UnitSpan getAscent()
public UnitSpan getLegacyAscent()
public UnitSpan getDescent()
public UnitSpan getLineGap()
public UnitSpan getLegacyLineGap()
public UnitSpan getspacing()
public float getCharWidth(int c, boolean useHorizontalGlyphs)
public double getDoubleCharWidth(int c, boolean useHorizontalGlyphs)
public float getGlyphWidth(int glyphID, boolean useHorizontalGlyphs)
public int getGlyphID(int c)
public boolean getGlyphID(int c, int g, boolean h)
public void mapGlyph(int c, int glyphID)
public static boolean match(FontInstance o1, FontInstance o2)
public int compareTo(FontInstance other)
compareTo
in interface Comparable<FontInstance>
Copyright © 2010 - 2020 Adobe. All Rights Reserved