Docs
Introduction
Installation
Usage
App
Shapes
Tools
Persistence
Collaboration
User Interface
Community
Contributing
Translations
Embeds
API Reference
Close
tldraw
/
API
/
@tldraw/editor
getSvgAsString
Public Function
Parameters
Name
Description
svg
SVGElement
Returns
string
References
SVGElement
Edit this page
Last edited on 11 May 2023
getSvgAsImage
getSvgPathFromStroke