ng2-canvas-whiteboard icon indicating copy to clipboard operation
ng2-canvas-whiteboard copied to clipboard

Enhance the Premade Shapes feature with adding more out of the box shapes

Open Peshou opened this issue 6 years ago • 1 comments

The canvas currently has FreeHand, Line, Rect, Circle, Star (5 spikes), Smile shapes.

It will be good if more shapes are inserted and are available out of the box, and if someone does not want a particular shape he can easily unregister it from the service.

Peshou avatar Jul 30 '18 15:07 Peshou

would it be an idea to provide a dedicated ng2-canvas-whiteboard-shape-base repository, which hosts some pre-made shapes? I am thinking of something like image-packs (i.e., glyphicons, fontawesome, ...). This way, one could easily "switch" the style for pre-made shapes, by including a dedicated package?

For example, if the user wants to have iOS style shapes, he may want to include the ng2-canvas-whiteboard-shape-ios package, for an Android app, you may want to use the ng2-canvas-whiteboard-shape-android package..

What do you think?

johannesschobel avatar Aug 14 '18 07:08 johannesschobel