I am pleased to announce the release of version 2.5.0 today.
This release includes one new feature and one important improvement.
Resize the red box to see how it works:
To achieve a smoother drawing experience, the logic for drawing SVG paths has been reimplemented.
Click and drag the mouse to see what it looks like:
Pencil Drawings have a minor difference in that, unlike other shapes, they begin a new drawing when the current one ends.
editor.shapes.pencil.stopDrawing() method or
editor.board.setActiveDrawing(null) method must be called in order to stop pencil drawing.
Draw something cool and then hit the “esc” key on your keyboard to finish the drawing.