Package com.ms.awt Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class OutlinePolygon

Constructors , Fields

public class OutlinePolygon
{
	// Fields
	public final static int OUTLINE_UNDEFINED = 0;
	public final static int OUTLINE_TRUETYPE = 1;
	public final static int OUTLINE_POLYBEZIER = 2;
	public int type;
	public PointFx fxStart;
	public OutlineCurve curves[];

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

An object which defines a polygon outline.


Constructors


OutlinePolygon

public OutlinePolygon()

Constructs an uninitialized object.


OutlinePolygon

public OutlinePolygon(int theType)

Constructs an initialized object.

ParameterDescription
theType The outline type. Can be OUTLINE_TRUETYPE or OUTLINE_POLYBEZIER.


Fields

OUTLINE_UNDEFINED
Constant indicating that the outline is of a system-undefined type.
OUTLINE_TRUETYPE
Constant indicating that the curves in the outline are 3-point beziers curves. This means the bezier curves have one control point and two end points. This is the outline used by FontX outline fonts.
OUTLINE_POLYBEZIER
Constant indicating that the outline curves which are beziers have 2 control points, as in the bezier curves used in the Win32 API PolyBezier.
type
The type of the character outline.
fxStart
The starting point of the outline.
curves
The curves on the outline.

See also Class OutlinePolygon.

Top© 1996 Microsoft Corporation. All rights reserved.