You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new Polygon to be drawn on a Canvallax Instance.
Special Properties
In addition to the standard element properties, Canvallax.Polygon elements also utilize these properties, shown with the default properties:
Canvallax.Polygon({sides: 6,// (Number)// Number of the polygon's sides. `3` is a triangle, `4` is a square, etc.size: 20// (Number)// Radius of the polygon.});