Graphics#bezierCurveTo()

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
Source code: pixi/primitives/Graphics.js (Line 276)
doc_phaser
2017-02-14 10:49:39
Comments
Leave a Comment

Please login to continue.