Class GlyfSimpleDescript
java.lang.Object
org.ofdrw.converter.font.GlyfDescript
org.ofdrw.converter.font.GlyfSimpleDescript
- All Implemented Interfaces:
org.apache.fontbox.ttf.GlyphDescription
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 GlyfDescript
ON_CURVE, REPEAT, X_DUAL, X_SHORT_VECTOR, Y_DUAL, Y_SHORT_VECTORModifier and TypeFieldDescriptionstatic final byteif set, the point is on the curve.static final byteif set, the next byte specifies the number of additional times this set of flags is to be repeated.static final byteThis flag as two meanings, depending on how the x-short vector flags is set.static final byteif set, the x-coordinate is 1 byte long.static final byteThis flag as two meanings, depending on how the y-short vector flags is set.static final byteif set, the y-coordinate is 1 byte long. -
Method Summary
Modifier and TypeMethodDescriptionintgetEndPtOfContours(int i) bytegetFlags(int i) intshortgetXCoordinate(int i) shortgetYCoordinate(int i) booleanMethods inherited from class GlyfDescript
getContourCount, getInstructions, resolve
-
Method Details
-
getEndPtOfContours
public int getEndPtOfContours(int i) -
getFlags
public byte getFlags(int i) -
getXCoordinate
public short getXCoordinate(int i) -
getYCoordinate
public short getYCoordinate(int i) -
isComposite
public boolean isComposite() -
getPointCount
public int getPointCount()
-