isDrawingMode property

dynamic get isDrawingMode

When true, mouse events on canvas (mousedown/mousemove/mouseup) result in free drawing. After mousedown, mousemove creates a shape, and then mouseup finalizes it and adds an instance of fabric.Path onto canvas.

Implementation

external dynamic /*bool|dynamic*/ get isDrawingMode;
set isDrawingMode (dynamic v)

Implementation

external set isDrawingMode(dynamic /*bool|dynamic*/ v);