translate method
translate
Applies the specified translation vector to this Matrix using (default) Prepend order.
def translate(self, tx, ty):
...
| Parameter | Type | Description |
|---|---|---|
| tx | float | The tx. The tx. The tx. |
| ty | float | The ty. The ty. The ty. |
translate
Applies the specified translation vector to this Matrix in the specified order.
def translate(self, offset_x, offset_y, order):
...
| Parameter | Type | Description |
|---|---|---|
| offset_x | float | The offset X. |
| offset_y | float | The offset Y. |
| order | MatrixOrder | The order. |
See Also
- module
aspose.cad - class
Matrix