bezier_curve_to method

bezier_curve_to

Adds a cubic Bézier curve to the current path.

def bezier_curve_to(self, cp_1x, cp_1y, cp_2x, cp_2y, x, y):
    ...
ParameterTypeDescription
cp_1xfloatThe x-coordinate of the first control point.
cp_1yfloatThe y-coordinate of the first control point.
cp_2xfloatThe x-coordinate of the second control point.
cp_2yfloatThe y-coordinate of the second control point.
xfloatThe x-coordinate of the ending point.
yfloatThe y-coordinate of the ending point.

See Also