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

## 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.Imaging.Brushes](../../transformbrush/)
* assembly [Aspose.Imaging](../../../)

---

## 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.imaging/matrixorder/)
* class [TransformBrush](../)
* namespace [Aspose.Imaging.Brushes](../../transformbrush/)
* assembly [Aspose.Imaging](../../../)


