translate method

translate

Translates the current transformation matrix. Calls writeTransform(Transform).

def translate(self, x, y):
    ...
ParameterTypeDescription
xfloatTranslation in X axis.
yfloatTranslation in Y axis.

See Also