public class Glyph
extends java.lang.Object
| Constructor and Description |
|---|
Glyph(int glyphIndex,
short advance,
short advanceOffset,
short ascenderOffset)
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
Glyph |
deepClone() |
short |
getAdvance() |
short |
getAdvanceOffset() |
short |
getAscenderOffset() |
int |
getGlyphIndex() |
float |
getWidth(int em,
float fontSize) |
void |
setAdvance(short value) |
public Glyph(int glyphIndex,
short advance,
short advanceOffset,
short ascenderOffset)
public int getGlyphIndex()
public short getAdvance()
public void setAdvance(short value)
public short getAdvanceOffset()
public short getAscenderOffset()
public float getWidth(int em,
float fontSize)
public Glyph deepClone()