---
title: "Matrix.Translate Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_Translate_2_427c5821.htm
product: "Graphics Mill"
---

# Matrix.Translate Method 
 
Applies the specified translation vector (*offsetX* and *offsetY*) to this [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) by prepending the translation vector.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void Translate(float offsetX,float offsetY
)
```
 
### Parameters
 
 - offsetX
     - Type: System.Single
The x value by which to translate this [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md).

 - offsetY
     - Type: System.Single
The y value by which to translate this [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md).
 
## Remarks
  
Internally the scaling is applied by multiplying this instance of the matrix by the affine matrix of translation. Left-sided multiplication is made.
   
## See Also

### Reference

- [Matrix Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
