cubic_bezier_to method

cubic_bezier_to(self, ctr_x1, ctr_y1, ctr_x2, ctr_y2, end_x, end_y)

Appends a cubic Bézier curve to the current figure. The starting point is the end point of the current figure.


def cubic_bezier_to(self, ctr_x1, ctr_y1, ctr_x2, ctr_y2, end_x, end_y):
    ...
ParameterTypeDescription
ctr_x1floatThe x-coordinate of the first control point for the curve.
ctr_y1floatThe y-coordinate of the first control point for the curve.
ctr_x2floatThe x-coordinate of the second control point for the curve.
ctr_y2floatThe y-coordinate of the second control point for the curve.
end_xfloatThe x-coordinate of the endpoint of the curve.
end_yfloatThe y-coordinate of the endpoint of the curve.

See Also