Skip to content

$moveTo

Begins a new path at the point specified by the given (x, y) coordinates.

Usage

$moveTo[canvas;x;y]

Parameters

FieldTypeDescriptionRequired
canvasStringName of the canvas to begin a new path in.True
xNumberThe X coordinate.True
yNumberThe Y coordinate.True

Example(s)

No examples for this function.

meow

Raw Info

{
"name": "$moveTo",
"description": "Begins a new path at the point specified by the given (x, y) coordinates.",
"params": [
{
"name": "canvas",
"description": "Name of the canvas to begin a new path in.",
"type": "String",
"required": true
},
{
"name": "x",
"description": "The X coordinate.",
"type": "Number",
"required": true
},
{
"name": "y",
"description": "The Y coordinate.",
"type": "Number",
"required": true
}
],
"usage": "$moveTo[canvas;x;y]",
"category": "canvas",
"src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/moveTo.ts",
"docs": "https://aoicanvas.vercel.app/functions/moveto"
}