is it possible to add some basic Hexagon, Heptagon, Octagon, Nonagon, Decagon to the list?
Why not add the "
PolygonVerticesCount: integer" property, with which you can specify the number of vertices of the polygon. When you set it, a regular polygon will be automatically generated, and you can easily get "hexagon, heptagon, octagon, nonagon, decagon". And if
PolygonVerticesCount is equal to -1, then a custom array of points will be used.
By the way, in this case, triangle and square will be a special case (although they will be inscribed in a circle).
You can even display a circle with zero vertices - this is also a polygon (albeit with an infinite number of vertices).
(
PolygonWinding can also be made a property)