Class OutlinePolygon
public class OutlinePolygon
{
// Fields
public OutlineCurve curves[];
public FloatPoint fxStart;
public final static int OUTLINE_POLYBEZIER;
public final static int OUTLINE_TRUETYPE;
public final static int OUTLINE_UNDEFINED;
public int type;
// Constructors
public OutlinePolygon();
public OutlinePolygon(int theType);
}
This class, which defines a polygon outline, is used by the GlyphOutline class to supply an array of outlines that comprise a character.
public OutlinePolygon();
Creates a OutlinePolygon object with its type set to OUTLINE_UNDEFINED.
public OutlinePolygon(int theType);
Creates an OutlinePolygon object and initializes the the character outline type.
- curves[]
- The curves on the outline.
- fxStart
- A floating point that serves as the starting point of the outline.
- OUTLINE_POLYBEZIER
- Indicates that the outline is comprised of Bezier curves that have two control points.
- OUTLINE_TRUETYPE
- A constant indicating that the outline curves are three-point Bezier. (This means that the Bezier curves have one control point and two end points. This type of curve is used by FontX outline fonts.)
- OUTLINE_UNDEFINED
- Indicates that the outline is of a system-undefined type.
- type
- The type of the character outline.