org.apache.fontbox.ttf
Class GlyphData
java.lang.Object
org.apache.fontbox.ttf.GlyphData
public class GlyphData
- extends java.lang.Object
A glyph data record in the glyf table.
- Version:
- $Revision: 1.1 $
- Author:
- Ben Litchfield (ben@benlitchfield.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlyphData
public GlyphData()
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws java.io.IOException
- This will read the required data from the stream.
- Parameters:
ttf
- The font that is being read.data
- The stream to read the data from.
- Throws:
java.io.IOException
- If there is an error reading the data.
getBoundingBox
public BoundingBox getBoundingBox()
- Returns:
- Returns the boundingBox.
setBoundingBox
public void setBoundingBox(BoundingBox boundingBoxValue)
- Parameters:
boundingBoxValue
- The boundingBox to set.
getNumberOfContours
public short getNumberOfContours()
- Returns:
- Returns the numberOfContours.
setNumberOfContours
public void setNumberOfContours(short numberOfContoursValue)
- Parameters:
numberOfContoursValue
- The numberOfContours to set.
Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.