org.fontbox.ttf
Class GlyphData
java.lang.Objectorg.fontbox.ttf.GlyphData
public class GlyphData
extends java.lang.Object
A glyph data record in the glyf table.
- Ben Litchfield (ben@benlitchfield.com)
getNumberOfContours
public short getNumberOfContours()
- Returns the numberOfContours.
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws IOException This will read the required data from the stream.
ttf - The font that is being read.data - The stream to read the data from.
setBoundingBox
public void setBoundingBox(BoundingBox boundingBoxValue)
boundingBoxValue - The boundingBox to set.
setNumberOfContours
public void setNumberOfContours(short numberOfContoursValue)
numberOfContoursValue - The numberOfContours to set.