c method

c

Adds a ‘Cubic Bezier Curve’ command to the path data.

Returns

The current PathBuilder instance.

def c(self, x1, y1, x2, y2, x, y):
    ...
ParameterTypeDescription
x1floatThe x-coordinate of the first control point.
y1floatThe y-coordinate of the first control point.
x2floatThe x-coordinate of the second control point.
y2floatThe y-coordinate of the second control point.
xfloatThe x-coordinate of the end point of the curve.
yfloatThe y-coordinate of the end point of the curve.

See Also