quadraticCurveTo(cpX, cpY, toX, toY) → {PIXI.Graphics}
Calculate the points for a quadratic bezier curve and then draws it.
Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier-curve-in-c
Parameters
| Name | Type | Description | 
|---|---|---|
cpX |  Number | Control point x  |  
cpY |  Number | Control point y  |  
toX |  Number | Destination point x  |  
toY |  Number | Destination point y  |  
Returns
- Source code: pixi/primitives/Graphics.js (Line 221)
 
Please login to continue.