$closePath
Adds a straight line from the current point to the start of the current path.
Usage
$closePath[canvas]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | Name of the canvas. | True |
Example(s)
No examples for this function.

Raw Info
{ "name": "$closePath", "description": "Adds a straight line from the current point to the start of the current path.", "params": [ { "name": "canvas", "description": "Name of the canvas.", "type": "String", "required": true } ], "usage": "$closePath[canvas]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/closePath.ts", "docs": "https://aoicanvas.vercel.app/functions/closepath"}