Docs
Introduction
Installation
Usage
Editor
Shapes
Tools
Persistence
Collaboration
User Interface
Assets
Community
Contributing
Translations
Embeds
API Reference
Close
tldraw
/
API
/
@tldraw/editor
getSvgAsDataUrl
Public Function
Parameters
Name
Description
svg
SVGElement
Returns
Promise
<
string
>
References
SVGElement
,
Promise
Edit this page
Last edited on 15 June 2023
getSplineForLineShape
getSvgAsDataUrlSync