Canvas-Designer icon indicating copy to clipboard operation
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.

Open creedrahul opened this issue 9 years ago • 2 comments

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.

creedrahul avatar Dec 07 '15 11:12 creedrahul

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

muaz-khan avatar Dec 07 '15 11:12 muaz-khan

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 image1 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

bindasho avatar Sep 30 '16 12:09 bindasho