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

Class OutlinePolygon

Fields , Constructors

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);
}

Creates an object which defines a polygon outline.


Fields

OUTLINE_UNDEFINED
Constant that indicates the outline is a system-undefined type.
OUTLINE_TRUETYPE
Constant that indicates 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 that indicates the beziers outline curves have 2 control points, as in the bezier curves used in the Win32 API PolyBezier.
type
Type of the character outline.
fxStart
Starting point of the outline.
curves
Curves on the outline.

See also Class OutlinePolygon.


Constructors


OutlinePolygon

public OutlinePolygon();

Constructs an uninitialized object.


OutlinePolygon

public OutlinePolygon(int theType);

Constructs an initialized object.

ParameterDescription
theType Outline type. Can be OUTLINE_TRUETYPE or OUTLINE_POLYBEZIER.



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