curve To
Adds a cubic Bezier curve command (C) to the path, which draws a curve to the specified absolute coordinates using two control points.
Parameters
x1
The x-coordinate of the first control point.
y1
The y-coordinate of the first control point.
x2
The x-coordinate of the second control point.
y2
The y-coordinate of the second control point.
x
The x-coordinate of the end point.
y
The y-coordinate of the end point.