## TranslateTransform(float, float) {#translatetransform}

Applies the specified translation to the local geometric transform. 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 [PathGradientBrush](../)
* namespace [System.Drawing.Drawing2D](../../pathgradientbrush/)
* assembly [Aspose.Drawing](../../../)

---

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

Applies the specified translation to the local geometric transform 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](../../matrixorder/)
* class [PathGradientBrush](../)
* namespace [System.Drawing.Drawing2D](../../pathgradientbrush/)
* assembly [Aspose.Drawing](../../../)


