$moveTo
Begins a new path at the point specified by the given (x, y) coordinates.
Usage
$moveTo[canvas;x;y]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | Name of the canvas to begin a new path in. | True |
| x | Number | The X coordinate. | True |
| y | Number | The Y coordinate. | True |
Example(s)
No examples for this function.

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