translate method
translate
Applies the specified translation vector to this Matrix.
def translate(self, offset_x, offset_y):
...
Parameter | Type | Description |
---|---|---|
offset_x | float | The offset X. |
offset_y | float | The 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):
...
Parameter | Type | Description |
---|---|---|
offset_x | float | The offset X. |
offset_y | float | The offset Y. |
matrix_order | aspose.pydrawing.drawing2d.MatrixOrder | The order. |
See Also
- module
aspose.page.xps.xpsmodel
- class
XpsMatrix