$quadraticCurveTo
Adds a quadratic bezier curve to the currect path.
Usage
$quadraticCurveTo[canvas;startX;startY;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 |
| 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": "$quadraticCurveTo", "description": "Adds a quadratic 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": "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": "$quadraticCurveTo[canvas;startX;startY;endX;endY]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/quadraticCurveTo.ts", "docs": "https://aoicanvas.vercel.app/functions/quadraticcurveto"}