Abstract
Creates a Shape Drawer instance to build and draw different shapes
The [[Board]]
The type of [[string | Drawing]]
Optional
options: DrawingOptionsThe drawing possible options
Reperesents the configuration of the shape that is drawing that
Abstract
nodeReperesents the node which is drawing or has been drawn
Reperesents the start point of the drawing shape
Checks wheather the current shape is drawing or not
Enables the drawing mode
The initial [[ShapeModel]] config
Creates a new shape and insert that into the [[Board]]
The [[ShapeModel]] configuration
The created [[ShapeModel]]
This is an abstract class that Shapes have to extend that to insert or draw their own
Example
Example
Example