Answer the question
In order to leave comments, you need to log in
Is it possible to save all canvas objects to a text file?
Is it possible to save the coordinates of objects (i.e. lines, pictures, shapes) canvas to a text file, so that later, when opening this file, continue editing?
Answer the question
In order to leave comments, you need to log in
Canvas elements are more abstract. Unlike decorative svg, they are not elements, but program code.
But you can save it in json format (for example), when canvas is loaded, send a json request to this file, parse it into an object, and take coordinates from it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question