public class GlyphData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private BoundingBox |
boundingBox |
private GlyfDescript |
glyphDescription |
private short |
numberOfContours |
private short |
xMax |
private short |
xMin |
private short |
yMax |
private short |
yMin |
Constructor and Description |
---|
GlyphData() |
Modifier and Type | Method and Description |
---|---|
BoundingBox |
getBoundingBox() |
GlyphDescription |
getDescription()
Returns the description of the glyph.
|
short |
getNumberOfContours() |
java.awt.geom.GeneralPath |
getPath()
Returns the path of the glyph.
|
short |
getXMaximum()
Returns the xMax value.
|
short |
getXMinimum()
Returns the xMin value.
|
short |
getYMaximum()
Returns the yMax value.
|
short |
getYMinimum()
Returns the yMin value.
|
(package private) void |
initData(GlyphTable glyphTable,
TTFDataStream data,
int leftSideBearing)
This will read the required data from the stream.
|
void |
setBoundingBox(BoundingBox boundingBoxValue) |
void |
setNumberOfContours(short numberOfContoursValue) |
private short xMin
private short yMin
private short xMax
private short yMax
private BoundingBox boundingBox
private short numberOfContours
private GlyfDescript glyphDescription
void initData(GlyphTable glyphTable, TTFDataStream data, int leftSideBearing) throws java.io.IOException
glyphTable
- The glyph table this glyph belongs to.data
- The stream to read the data from.leftSideBearing
- The left side bearing for this glyph.java.io.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 java.awt.geom.GeneralPath getPath()
public short getXMaximum()
public short getXMinimum()
public short getYMaximum()
public short getYMinimum()