CPolygon:Ellipse


The Ellipse method creates a ellipse polygon, approximated by nPts sides.

Syntax

CPolygon:Ellipse( nRadius, nTheta, nEllip )

CPolygon:Ellipse( nRadius, nTheta, nEllip, nPts )

where

    nRadius is the radius of the ellipse.

    nTheta is the angle of the major axis, in degrees.

    nEllip is the elliptiity, between the extremes 0 (circle) and < 1 (line).

    nPts is the number of vertices in the polygon. If not specified, it defaults to 36.

Related Topics

Ellipse

Rect

CPolygon class