translate method

translate

Applies the specified translation vector to this Matrix.

def translate(self, offset_x, offset_y):
    ...
ParameterTypeDescription
offset_xfloatThe offset X.
offset_yfloatThe offset Y.

translate

Applies the specified translation vector to this Matrix in order specified by matrix_order.

def translate(self, offset_x, offset_y, matrix_order):
    ...
ParameterTypeDescription
offset_xfloatThe offset X.
offset_yfloatThe offset Y.
matrix_orderaspose.pydrawing.drawing2d.MatrixOrderThe order.

See Also