---
title: "translate method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.datatypes/svgmatrix/translate/"
product: "Aspose.SVG for Python via .NET API References"
---


## translate {#float-float}

Post-multiplies a translation transformation on the current matrix and returns the resulting matrix.


### Returns 


The resulting matrix.


```python
def translate(self, x, y):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| x | float | The distance to translate along the x-axis. |
| y | float | The distance to translate along the y-axis. |



### See Also
* module [`aspose.svg.datatypes`](../../)
* class [`SVGMatrix`](/svg/python-net/aspose.svg.datatypes/svgmatrix)
