$bezierCurveTo
Adds a cubic bezier curve to the currect path.
Usage
$bezierCurveTo[canvas;startX;startY;middleX;middleY;endX;endY]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | Name of the canvas. | True |
| startX | Number | The X coordinate of the start point. | True |
| startY | Number | The Y coordinate of the start point. | True |
| middleX | Number | The X coordinate of the mid point. | True |
| middleY | Number | The Y coordinate of the mid point. | True |
| endX | Number | The X coordinate of the end point. | True |
| endY | Number | The Y coordinate of the end point. | True |
Example(s)
No examples for this function.

Raw Info
{ "name": "$bezierCurveTo", "description": "Adds a cubic bezier curve to the currect path.", "params": [ { "name": "canvas", "description": "Name of the canvas.", "type": "String", "required": true }, { "name": "startX", "description": "The X coordinate of the start point.", "type": "Number", "required": true }, { "name": "startY", "description": "The Y coordinate of the start point.", "type": "Number", "required": true }, { "name": "middleX", "description": "The X coordinate of the mid point.", "type": "Number", "required": true }, { "name": "middleY", "description": "The Y coordinate of the mid point.", "type": "Number", "required": true }, { "name": "endX", "description": "The X coordinate of the end point.", "type": "Number", "required": true }, { "name": "endY", "description": "The Y coordinate of the end point.", "type": "Number", "required": true } ], "usage": "$bezierCurveTo[canvas;startX;startY;middleX;middleY;endX;endY]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/bezierCurveTo.ts", "docs": "https://aoicanvas.vercel.app/functions/beziercurveto"}