Packages
 In this topic

*Constructors

*Fields

 

Packages   PreviousThis PackageNext
Package com.ms.fx   Previous This
Package
Next

 


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.

Constructors

OutlinePolygon

public OutlinePolygon();

Creates a OutlinePolygon object with its type set to OUTLINE_UNDEFINED.

OutlinePolygon

public OutlinePolygon(int theType);

Creates an OutlinePolygon object and initializes the the character outline type.

ParameterDescription
theType The type of curves used in the outline polygon. This may be OUTLINE_TRUETYPE, OUTLINE_POLYBEZIER, or OUTLINE_UNDEFINED.

Fields

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.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.