save
Saves the current state of the canvas to an image file.
Syntax
Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
| filename | string |
The path and name of the file to save (e.g., output.png). |
Required |
Saves the current state of the canvas to an image file.
| Parameter | Type | Description | Default |
|---|---|---|---|
| filename | string |
The path and name of the file to save (e.g., output.png). |
Required |