$setShadow
Sets the shadow (blur, style, offset) in a canvas.
Usage
$setShadow[canvas;blur;style;...offset?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | Name of the canvas to set the shadow in. | True |
| blur | Number | The shadow blur. | True |
| style | Color | The shadow style. | True |
| offset | Number | The shadow offset | False |
Example(s)
No examples for this function.

Raw Info
{ "name": "$setShadow", "description": "Sets the shadow (blur, style, offset) in a canvas.", "params": [ { "name": "canvas", "description": "Name of the canvas to set the shadow in.", "type": "String", "required": true }, { "name": "blur", "description": "The shadow blur.", "type": "Number", "required": true }, { "name": "style", "description": "The shadow style.", "type": "Color", "required": true }, { "name": "offset", "description": "The shadow offset", "type": "Number", "required": false } ], "usage": "$setShadow[canvas;blur;style;...offset?]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/setShadow.ts", "docs": "https://aoicanvas.vercel.app/functions/setshadow"}