q method

q

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

Returns

The current PathBuilder instance.

def q(self, x1, y1, x, y):
    ...
ParameterTypeDescription
x1floatThe x-coordinate of the control point.
y1floatThe y-coordinate of the control point.
xfloatThe x-coordinate of the end point of the curve.
yfloatThe y-coordinate of the end point of the curve.

See Also