public abstract class GlyfDescript extends Object implements GlyphDescription
| Modifier and Type | Field and Description | 
|---|---|
| static byte | ON_CURVEif set, the point is on the curve. | 
| static byte | REPEATif set, the next byte specifies the number of additional 
 times this set of flags is to be repeated. | 
| static byte | X_DUALThis flag as two meanings, depending on how the
 x-short vector flags is set. | 
| static byte | X_SHORT_VECTORif set, the x-coordinate is 1 byte long. | 
| static byte | Y_DUALThis flag as two meanings, depending on how the
 y-short vector flags is set. | 
| static byte | Y_SHORT_VECTORif set, the y-coordinate is 1 byte long. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | GlyfDescript(short numberOfContours,
            org.apache.fontbox.ttf.TTFDataStream bais)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getContourCount()Returns the number of contours. | 
| int[] | getInstructions()Returns the hinting instructions. | 
| protected void | readInstructions(org.apache.fontbox.ttf.TTFDataStream bais,
                int count)Read the hinting instructions. | 
| void | resolve()Resolve all parts of an composite glyph. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndPtOfContours, getFlags, getPointCount, getXCoordinate, getYCoordinate, isCompositepublic static final byte ON_CURVE
public static final byte X_SHORT_VECTOR
public static final byte Y_SHORT_VECTOR
public static final byte REPEAT
public static final byte X_DUAL
public static final byte Y_DUAL
protected GlyfDescript(short numberOfContours,
            org.apache.fontbox.ttf.TTFDataStream bais)
                throws IOException
numberOfContours - the number of contoursbais - the stream to be readIOException - is thrown if something went wrongpublic void resolve()
resolve in interface GlyphDescriptionpublic int getContourCount()
getContourCount in interface GlyphDescriptionpublic int[] getInstructions()
protected void readInstructions(org.apache.fontbox.ttf.TTFDataStream bais,
                    int count)
                         throws IOException
bais - the stream to be readcount - the number of instructions to be readIOException - is thrown if something went wrongCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.