HTML5 canvas Regular Polygon Tutorial
To create a regular polygon shape with Konva
, we can instantiate a Konva.RegularPolygon()
object.
For full list of properties and methods, see the RegularPolygon API Reference.
- Vanilla
- React
- Vue
To create a regular polygon shape with Konva
, we can instantiate a Konva.RegularPolygon()
object.
For full list of properties and methods, see the RegularPolygon API Reference.