translate method

translate

Adds translation to current graphics state (translates current matrix).

def translate(self, x, y):
    ...
ParameterTypeDescription
xfloatThe translation in X direction.
yfloatThe translation in Y direction.

See Also