Canvas-Designer
Canvas-Designer copied to clipboard
I have saved the coordinates of drawing from last session how can i redraw the old drawing and start from where i left the session last time.
I have saved the object that is available on the code button click. How can i redraw the old drawing and start from where i left the session last time.
CanvasDesigner. syncData( database.arrayOfData );
- https://github.com/muaz-khan/Canvas-Designer/blob/master/canvas-designer-widget.js#L52
Which actually sets global points
array-object:
- https://github.com/muaz-khan/Canvas-Designer/blob/master/share-drawings.js#L15
Hello Muaz khan,
Thanks for nice app.
(1) I have one issue:
When I save the object that is available on the code button click
and use that in
CanvasDesigner. syncData( database.arrayOfData );
The shape is drawn but color and drawing style is not preserved.
(2) I can save whiteboard screenshot as image. Is there any way we can draw image from a web url that was saved?
Thanks
Bhanu