Package com.ms.fx Previous
Previous
Contents
Contents
Index
Index
Next
Next

Class OutlinePolygon

Constructors , Fields

public class OutlinePolygon 
{
  // Fields
  public final static int OUTLINE_UNDEFINED;
  public final static int OUTLINE_TRUETYPE;
  public final static int OUTLINE_POLYBEZIER;
  public int type;
  public FloatPoint fxStart;
  public OutlineCurve curves[];

  // Constructors
  public OutlinePolygon();
  public OutlinePolygon(int theType);
}

A class that defines a polygon outline.


Constructors


OutlinePolygon

public OutlinePolygon();

Creates an uninitialized OutlinePolygon object.


OutlinePolygon

public OutlinePolygon(int theType);

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

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
The starting point of the outline.
OUTLINE_POLYBEZIER
A constant indicating that the outline curves, which are Bezier's that have 2 control points, are like the Bezier curves used in the Win32 API PolyBezier.
OUTLINE_TRUETYPE
A constant indicating that the outline curves are 3-point Bezier's curves. This means the Bezier curves have one control point and two end points. This type of curve is the outline used by Font outline fonts.
OUTLINE_UNDEFINED
A constant indicating that the outline is of a system-undefined type.
type
The type of the character outline.


Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.