Table of Contents

OIL2 Class Standard.DrawingPolygon


class Standard . DrawingPolygon {
        array   pointList;
        int32   segmentCount;
        array   segmentType;
inherits from DrawingShape;

DESCRIPTION

The DrawingPolygon class provides a specialization of DrawingShape that assists with the construction of generic polygons.

METHODS


Standard.DrawingPolygon:create

DrawingPolygon:create(int32 x1, int32 y1, optional int32 x2, optional int32 y2, optional int32 x3, optional int32 y3)

Method Description

See initialize.


Standard.DrawingPolygon:initialize

DrawingPolygon:initialize(int32 x1, int32 y1, optional int32 x2, optional int32 y2, optional int32 x3, optional int32 y3)

Method Description


Standard.DrawingPolygon:addStraightLine

DrawingPolygon:addStraightLine(int32 newVertexX, int32 newVertex_y, optional int32 newX, optional int32 newY)

Method Description