|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fontbox.ttf.GlyphData
public class GlyphData
A glyph data record in the glyf table.
Constructor Summary | |
---|---|
GlyphData()
|
Method Summary | |
---|---|
BoundingBox |
getBoundingBox()
|
GlyphDescription |
getDescription()
Returns the description of the glyph. |
short |
getNumberOfContours()
|
short |
getXMaximum()
Returns the xMax value. |
short |
getXMinimum()
Returns the xMin value. |
short |
getYMaximum()
Returns the yMax value. |
short |
getYMinimum()
Returns the yMin value. |
void |
initData(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream. |
void |
setBoundingBox(BoundingBox boundingBoxValue)
|
void |
setNumberOfContours(short numberOfContoursValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlyphData()
Method Detail |
---|
public void initData(TrueTypeFont ttf, TTFDataStream data) throws IOException
ttf
- The font that is being read.data
- The stream to read the data from.
IOException
- If there is an error reading the data.public BoundingBox getBoundingBox()
public void setBoundingBox(BoundingBox boundingBoxValue)
boundingBoxValue
- The boundingBox to set.public short getNumberOfContours()
public void setNumberOfContours(short numberOfContoursValue)
numberOfContoursValue
- The numberOfContours to set.public GlyphDescription getDescription()
public short getXMaximum()
public short getXMinimum()
public short getYMaximum()
public short getYMinimum()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |