exportSvg

fun exportSvg()

Export the current drawing as an SVG string.

The exported string can be saved to a file and opened in any SVG viewer. Emits an Event.SvgExported event that can be collected to save the file.