newPolygon
Adds a simple polygon into the specified class and returns the corresponding Polygon2D form.
Return
A valid Polygon2D form or null if an error occurs.
Parameters
classID
The class identifier.Content copied to clipboard
pts
Coordinates of the 2D polygon.Content copied to clipboard
atts
An optional array of SVS attributes.Content copied to clipboard