quadratic_curve_to method

quadratic_curve_to

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

def quadratic_curve_to(self, control_point_x, control_point_y, end_point_x, end_point_y):
    ...
ParameterTypeDescription
control_point_xfloatThe x-coordinate of the control point.
control_point_yfloatThe y-coordinate of the control point.
end_point_xfloatThe x-coordinate of the destination point.
end_point_yfloatThe y-coordinate of the destination point.

See Also