---
title: "TransformBrush.TranslateTransform"
url: "https://reference.aspose.com/psd/net/aspose.psd.brushes/transformbrush/translatetransform/"
product: "Aspose.PSD for .NET API Reference"
description: "TransformBrush method. Translates the local geometric transform by the specified dimensions. This method prepends the translation to the transform"
---

{{< psd/tize >}}
## TranslateTransform(float, float) {#translatetransform}

Translates the local geometric transform by the specified dimensions. This method prepends the translation to the transform.

```csharp
public void TranslateTransform(float dx, float dy)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dx | Single | The value of the translation in x. |
| dy | Single | The value of the translation in y. |

### See Also

* class [TransformBrush](../)
* namespace [Aspose.PSD.Brushes](../../../aspose.psd.brushes/)
* assembly [Aspose.PSD](../../../)

---

## TranslateTransform(float, float, MatrixOrder) {#translatetransform_1}

Translates the local geometric transform by the specified dimensions in the specified order.

```csharp
public void TranslateTransform(float dx, float dy, MatrixOrder order)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dx | Single | The value of the translation in x. |
| dy | Single | The value of the translation in y. |
| order | MatrixOrder | The order (prepend or append) in which to apply the translation. |

### See Also

* enum [MatrixOrder](../../../aspose.psd/matrixorder/)
* class [TransformBrush](../)
* namespace [Aspose.PSD.Brushes](../../../aspose.psd.brushes/)
* assembly [Aspose.PSD](../../../)


