bezier_curve_to method

bezier_curve_to

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

def bezier_curve_to(self, control_point_1x, control_point_1y, control_point_2x, control_point_2y, end_point_x, end_point_y):
    ...
ParameterTypeDescription
control_point_1xfloatThe x-coordinate of the first control point.
control_point_1yfloatThe y-coordinate of the first control point.
control_point_2xfloatThe x-coordinate of the second control point.
control_point_2yfloatThe y-coordinate of the second control point.
end_point_xfloatThe x-coordinate of the destination point.
end_point_yfloatThe y-coordinate of the destination point.

See Also