smoothCurveToRelative

Adds a relative smooth cubic Bezier curve command (s) to the path, which draws a curve to the specified relative coordinates using one control point.

Parameters

x2

The x-offset of the control point.

y2

The y-offset of the control point.

x

The x-offset of the end point.

y

The y-offset of the end point.