public class Glyph
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
advanceWidth |
protected short |
leftSideBearing |
Constructor and Description |
---|
Glyph(GlyphDescription gd,
short lsb,
int advance) |
Modifier and Type | Method and Description |
---|---|
int |
getAdvanceWidth() |
short |
getLeftSideBearing() |
Point |
getPoint(int i) |
int |
getPointCount() |
void |
reset()
Resets the glyph to the TrueType table settings
|
void |
scale(int factor) |
protected short leftSideBearing
protected int advanceWidth
public Glyph(GlyphDescription gd, short lsb, int advance)
public int getAdvanceWidth()
public short getLeftSideBearing()
public Point getPoint(int i)
public int getPointCount()
public void reset()
public void scale(int factor)
factor
- a 16.16 fixed valueCopyright © 2022 Apache Software Foundation. All Rights Reserved.