A polygon which connects an array of points. Includes extra methods for math and utility.
The points that the Polygon will connect.
Polygon
The center of the Polygon.
Scales the Polygon by a scale factor. Creates a new Polygon and does not modify the original Polygon.
Scales the Polygon by a scale factor. Modifies the original Polygon.
Sets the points and size of the Polygon to another Polygon.
Translates the Polygon by a point. Creates a new Polygon and does not modify the original Polygon.
Translates the Polygon by a point. Modifies the original Polygon.
Generated using TypeDoc
A polygon which connects an array of points. Includes extra methods for math and utility.