$save
Saves the entire state of the canvas by pushing the current state onto a stack.
Usage
$save[canvas]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | Name of the canvas. | True |
Example(s)
No examples for this function.

Raw Info
{ "name": "$save", "description": "Saves the entire state of the canvas by pushing the current state onto a stack.", "params": [ { "name": "canvas", "description": "Name of the canvas.", "type": "String", "required": true } ], "usage": "$save[canvas]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/save.ts", "docs": "https://aoicanvas.vercel.app/functions/save"}