---
title: "PointF..::.translate Method "
canonical: https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF_translate.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# PointF.translate Method 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Translates a point to the specified offset.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math](https://www.graphicsmill.com/docs/gmwc/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function translate(x, y);
```
 
### Parameters
 
 - x
     - Type: Global..Number
The offset in the x-direction.

 - y
     - Type: Global..Number
The offset in the y-direction.
 
### Return Value
The [PointF](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF.htm.md) value which represents a translated point.
 
## Remarks
  
This method corresponds to [PointF.Translate(Single, Single)](https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF_Translate_2_427c5821.htm.md) server-side member.
   
## See Also

### Reference

- [PointF Class](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
