Method Summary |
|
public short | getContourEndPoint(int index) |
public ByteBuffer | getData() Get the data in this glyf as a byte buffer. |
public byte | getFlag(int pointIndex) |
public byte | getInstruction(int index) |
public short | getLength() Get the length of this glyf. |
public short | getNumInstructions() |
public short | getNumPoints() |
public short | getXCoord(int pointIndex) |
public short | getYCoord(int pointIndex) |
public boolean | onCurve(int pointIndex) |
protected boolean | repeat(int pointIndex) |
protected void | setContourEndPoints(short[] contourEndPts) |
public void | setData(ByteBuffer data) Set the data for this glyf. |
protected void | setFlags(byte[] flags) |
protected void | setInstructions(byte[] instructions) |
protected void | setXCoords(short[] xCoords) |
protected void | setYCoords(short[] yCoords) |
protected boolean | xIsByte(int pointIndex) Determine whether the x value for the given point is byte or short. |
protected boolean | xIsSame(int pointIndex) Determine whether the x value for the given point is the same as
the previous value. |
protected boolean | yIsByte(int pointIndex) Determine whether the x value for the given point is byte or short. |
protected boolean | yIsSame(int pointIndex) Determine whether the y value for the given point is the same as
the previous value. |