smooth Curve To
Adds a smooth cubic Bezier curve command (S) to the path, which draws a curve to the specified absolute coordinates using one control point.
Parameters
x2
The x-coordinate of the control point.
y2
The y-coordinate of the control point.
x
The x-coordinate of the end point.
y
The y-coordinate of the end point.