$arcTo
Adds a circular arc to the current path.
Usage
$arcTo[canvas;x1;y1;x2;y2;radius]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | Name of the canvas. | True |
| x1 | Number | The X coordinate of the first control point. | True |
| y1 | Number | The Y coordinate of the first control point. | True |
| x2 | Number | The X coordinate of the second control point. | True |
| y2 | Number | The Y coordinate of the second control point. | True |
| radius | Number | The arc’s radius | True |
Example(s)
No examples for this function.

Raw Info
{ "name": "$arcTo", "description": "Adds a circular arc to the current path.", "params": [ { "name": "canvas", "description": "Name of the canvas.", "type": "String", "required": true }, { "name": "x1", "description": "The X coordinate of the first control point.", "type": "Number", "required": true }, { "name": "y1", "description": "The Y coordinate of the first control point.", "type": "Number", "required": true }, { "name": "x2", "description": "The X coordinate of the second control point.", "type": "Number", "required": true }, { "name": "y2", "description": "The Y coordinate of the second control point.", "type": "Number", "required": true }, { "name": "radius", "description": "The arc's radius", "type": "Number", "required": true } ], "usage": "$arcTo[canvas;x1;y1;x2;y2;radius]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/arcTo.ts", "docs": "https://aoicanvas.vercel.app/functions/arcto"}