public class TtfGlyph extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TtfGlyph.CoordinateFlagSet |
protected static class |
TtfGlyph.CoordinateFlagType |
protected static class |
TtfGlyph.GlyphCoordinate |
| Constructor and Description |
|---|
TtfGlyph() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateData() |
List<TtfGlyph.GlyphCoordinate> |
getCoordinates() |
List<TtfInstructionParser.TtfInstruction> |
getInstructions() |
short |
getNumberOfContours() |
boolean |
isComposite() |
boolean |
isEmpty() |
static TtfGlyph |
parse(byte[] data,
OpenTypeFont font) |
void |
setCountours(List<Countour> countours) |
String |
toString() |
public static TtfGlyph parse(byte[] data, OpenTypeFont font) throws IOException
IOExceptionpublic byte[] generateData()
throws IOException
IOExceptionpublic short getNumberOfContours()
public boolean isComposite()
public List<TtfGlyph.GlyphCoordinate> getCoordinates()
public boolean isEmpty()
public List<TtfInstructionParser.TtfInstruction> getInstructions() throws IllegalAccessException, IOException, InstantiationException
Copyright © 2016. All rights reserved.