GlyfCompositeDescript
, GlyfDescript
, GlyfSimpleDescript
public interface GlyphDescription
Modifier and Type | Method | Description |
---|---|---|
int |
getContourCount() |
Returns the number of contours.
|
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.
|
void |
resolve() |
Resolve all parts of an composite glyph.
|
int getEndPtOfContours(int i)
i
- the number of the contourbyte getFlags(int i)
GlyfDescript
. See also "Outline flags" in
The
'glyf' table in the TrueType Reference Manual.i
- the given pointshort getXCoordinate(int i)
i
- the given pointshort getYCoordinate(int i)
i
- the given pointboolean isComposite()
int getPointCount()
int getContourCount()
void resolve()
Copyright © 2008–2018. All rights reserved.