Skip to content

$closePath

Adds a straight line from the current point to the start of the current path.

Usage

$closePath[canvas]

Parameters

FieldTypeDescriptionRequired
canvasStringName of the canvas.True

Example(s)

No examples for this function.

meow

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"
}