
## translate {#float-float}

Applies the specified translation vector to this [`Matrix`](/cad/python-net/aspose.cad/matrix) using (default) Prepend order.



```python
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 {#float-float-aspose.cad.MatrixOrder}

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



```python
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`](/cad/python-net/aspose.cad/matrixorder) | The order. |



### See Also
* module [`aspose.cad`](../../)
* class [`Matrix`](/cad/python-net/aspose.cad/matrix)
