class Standard . DrawingPolygon {
array pointList;
int32 segmentCount;
array segmentType;
} inherits from DrawingShape;
The DrawingPolygon class provides a specialization of DrawingShape that assists with the construction of generic polygons.
DrawingPolygon:create(int32 x1, int32 y1, optional int32 x2, optional int32 y2, optional int32 x3, optional int32 y3)
See initialize.
DrawingPolygon:initialize(int32 x1, int32 y1, optional int32 x2, optional int32 y2, optional int32 x3, optional int32 y3)
DrawingPolygon:addStraightLine(int32 newVertexX, int32 newVertex_y, optional int32 newX, optional int32 newY)