|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fontbox.ttf.GlyfDescript
org.apache.fontbox.ttf.GlyfSimpleDescript
public class GlyfSimpleDescript
This class is based on code from Apache Batik a subproject of Apache XMLGraphics. see http://xmlgraphics.apache.org/batik/ for further details.
| Field Summary |
|---|
| Fields inherited from class org.apache.fontbox.ttf.GlyfDescript |
|---|
ON_CURVE, REPEAT, X_DUAL, X_SHORT_VECTOR, Y_DUAL, Y_SHORT_VECTOR |
| Constructor Summary | |
|---|---|
GlyfSimpleDescript(short numberOfContours,
TTFDataStream bais)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getEndPtOfContours(int i)
Returns the index of the ending point of the given contour. |
byte |
getFlags(int i)
Returns the flags of the given point. |
int |
getPointCount()
Returns the number of points. |
short |
getXCoordinate(int i)
Returns the x coordinate of the given point. |
short |
getYCoordinate(int i)
Returns the y coordinate of the given point. |
boolean |
isComposite()
Returns whether this point is a composite or not. |
| Methods inherited from class org.apache.fontbox.ttf.GlyfDescript |
|---|
getContourCount, getInstructions, readInstructions, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlyfSimpleDescript(short numberOfContours,
TTFDataStream bais)
throws IOException
numberOfContours - number of contoursbais - the stream to be read
IOException - is thrown if something went wrong| Method Detail |
|---|
public int getEndPtOfContours(int i)
i - the number of the contour
public byte getFlags(int i)
i - the given point
public short getXCoordinate(int i)
i - the given point
public short getYCoordinate(int i)
i - the given point
public boolean isComposite()
public int getPointCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||