Polygons

A polygon is a set of points that are connected by straight line segments and closed automatically. Polygons derive from polylines. You should not specify the same starting and ending points to close the polygon. Polygons are closed line segments for drawing filled shapes. The polygons uses the fill algorithm described under the heading "Fill algorithm for loops and polygons" on page 76 for filling the polygon.

See Chapter 2 for an example polygon instantiation.

TPolygon AddBefore GetPoint RemovePoint
Append GetPoints ReverseDirection
DragPosition IsConvex SetEOFill
GetEOFill IsRectilinear SetPoints
GetNumberOfPoints NearestParametric SetPoint


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker