Docs
Introduction
Installation
Usage
App
Shapes
Tools
Persistence
Collaboration
User Interface
Assets
Community
Contributing
Translations
Embeds
API Reference
Close
tldraw
/
API
/
@tldraw/editor
downloadDataURLAsFile
Public Function
Parameters
Name
Description
dataUrl
string
filename
string
Returns
void
Edit this page
Last edited on 12 June 2023
defineShape
DrawShape