$resizeCanvas
Resizes the canvas.
Usage
$resizeCanvas[canvas;width;height]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | The name of the canvas to resize. | True |
| width | Number | New width. | True |
| height | Number | New height. | True |
Example(s)
No examples for this function.

Raw Info
{ "name": "$resizeCanvas", "description": "Resizes the canvas.", "params": [ { "name": "canvas", "description": "The name of the canvas to resize.", "type": "String", "required": true }, { "name": "width", "description": "New width.", "type": "Number", "required": true }, { "name": "height", "description": "New height.", "type": "Number", "required": true } ], "usage": "$resizeCanvas[canvas;width;height]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/resizeCanvas.ts", "docs": "https://aoicanvas.vercel.app/functions/resizecanvas"}