|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fontbox.ttf.Glyph2D
public class Glyph2D
This class provides a glyph to GeneralPath conversion. This class is based on code from Apache Batik a subproject of Apache XMLGraphics. see http://xmlgraphics.apache.org/batik/ for further details.
Constructor Summary | |
---|---|
Glyph2D(GlyphDescription gd,
short lsb,
int advance)
Constructor. |
Method Summary | |
---|---|
int |
getAdvanceWidth()
Returns the advanceWidth value. |
short |
getLeftSideBearing()
Returns the leftSideBearing value. |
GeneralPath |
getPath()
Returns the path describing the glyph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Glyph2D(GlyphDescription gd, short lsb, int advance)
gd
- the glyph descriptionlsb
- leftSideBearingadvance
- advanceWidthMethod Detail |
---|
public int getAdvanceWidth()
public short getLeftSideBearing()
public GeneralPath getPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |