---
title: "SVGMatrix.Translate"
url: "https://reference.aspose.com/html/java/com.aspose.html.dom.svg.datatypes/svgmatrix/translate/"
product: "Aspose.HTML for Java API Reference"
description: "SVGMatrix method. Post-multiplies a translation transformation on the current matrix and returns the resulting matrix"
---

## SVGMatrix.Translate method

Post-multiplies a translation transformation on the current matrix and returns the resulting matrix.

```java
public SVGMatrix Translate(float x, float y)
```

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

### Return Value

The resulting matrix.

### See Also

* class [SVGMatrix](../)
* package [com.aspose.html.dom.svg.datatypes](../../../com.aspose.html.dom.svg.datatypes/)
* package [Aspose.HTML](../../../)
