tr method

tr

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

Returns

The current PathBuilder instance.

def tr(self, x, y):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the end point of the curve, relative to the current position.
yfloatThe y-coordinate of the end point of the curve, relative to the current position.

See Also