public class GlyphData extends Object
| Constructor and Description |
|---|
GlyphData() |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
getBoundingBox() |
short |
getNumberOfContours() |
void |
initData(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream.
|
void |
setBoundingBox(BoundingBox boundingBoxValue) |
void |
setNumberOfContours(short numberOfContoursValue) |
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.Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.