Module: shape-points/quadraticCurveTo

calculate points in a quadratic curve

Parameters:
Name Type Description
x1 number

starting point

y1 number
cp1x number

control point

cp1y number
x2 number

ending point

y2 number
Source:
Returns:

[x1, y1, x2, y2, ... xn, yn]

Type
array