ICanvas › toDataURL
Unofficial
Converts the canvas to a data URL.
Signature:
toDataURL(type?: string, quality?: number): string
Parameters:
| Parameter | Type | Description |
|---|
| type? | string | Image MIME type. |
| quality? | number | Image quality. |
Returns: string — The data URL string.