|
Deprecated
This action is deprecated. Use the WeavePolygonToolAction instead. |
Overview
The WeaveRegularPolygonToolAction class that allows users to create regular polygons shapes on the canvas by clicking and dragging. It provides a smooth, intuitive way to add structured, resizable star elements .
Each interaction results in the creation of a WeaveRegularPolygonNode, added to the shared state and synchronized across all users.
While dragging, hold Alt/Option to draw from the initial point as the center. Regular polygons keep their equal proportions by default.
The class extends the WeaveAction class.