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
PIXI.Graphics -
Inherited From PIXI.Graphics#bezierCurveTo Source code: pixi/primitives/Graphics.js (Line 276)