How to add a Bézier curve

Command: addBezierCurve

Description: Adds a cubic Bézier curve. The curve is defined by the start point P1 , the end point P4, the start tangent point P2 and the end tangent point P3.

Example: