Main Index : Reference :
class PolygonObject : PointObject
{
public:
PolygonObject();
[int] GetPolygonCount();
[Polygon] GetPolygon([int] num);
[bool] SetPolygon([int] num, [Polygon] p);
[array] GetPolygons();
[bool] SetPolygons([array] p);
[BaseSelect] GetPolygonSelection();
[bool] SetPolygonSelection([BaseSelect] bs);
}
Represents a polygon object.
[int] GetPolygonCount();
Returns the number of polygons.
[Polygon] GetPolygon([int] num);
Returns polygon num
.
[bool] SetPolygon([int] num, [Polygon] p);
Sets polygon num
to p
. Returns TRUE
if successful.
[array] GetPolygons();
Returns an array with all polygons. The array is formatted like a polygon tag
[bool] SetPolygons([array] p);
Sets all polygons at the same time using the array p
. The array should be formatted like a polygon tag. Returns TRUE
if successful.
[BaseSelect] GetPolygonSelection();
Returns the current polygon selection.
[bool] SetPolygonSelection([BaseSelect] bs);
Sets the selection to bs
. Returns TRUE if successful.