import Path
Import a previously exported drawing from JSON string.
Clears the canvas and loads elements from the provided JSON. Emits an Event.Error if deserialization fails.
Parameters
json String
The exported drawing as JSON
Import a previously exported drawing from JSON string.
Clears the canvas and loads elements from the provided JSON. Emits an Event.Error if deserialization fails.
The exported drawing as JSON