bezierCurveTo(cpX, cpY, cpX2, cpY2, toX, toY) → {PIXI.Graphics}
Calculate the points for a bezier curve and then draws it.
Parameters
Name | Type | Description |
---|---|---|
cpX | Number | Control point x |
cpY | Number | Control point y |
cpX2 | Number | Second Control point x |
cpY2 | Number | Second Control point y |
toX | Number | Destination point x |
toY | Number | Destination point y |
Returns
- Inherited From
- Source code: pixi/primitives/Graphics.js (Line 276)
Please login to continue.