Polygon for MoxyDraw

Creates a polygon as a polyline.


Syntax:

Polygon
number of sides
center point X
center point Y
I or C
radius
final angle

number of sides:

Sets the number of sides.

center point X:

Sets the center point X.

center point Y:

Sets the center point Y.

I or C:

Sets whether the polygon is inscribed or circumscribed. Inscribed means the polygon is drawn inside the given radius and the all the summits are touching the circle given by the radius. Circumscribed means the polygon is drawn outside the given radius and the middle of all segment are touching the circle given by the radius.

radius:

Sets the radius.

final angle:

Optional. Sets the final angle to rotate the polygon by its center point. Angles are in degrees and counter-clock wise. If omitted, it will be set to 0.

angle