---
title: "PointF..::.scale Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF_scale.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# PointF.scale Method 
 
Scales a point to the specified values.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function scale(scaleX, scaleY);
```
 
### Parameters
 
 - scaleX
     - Type: Global.Number
The scale factor in the x-direction.

 - scaleY
     - Type: Global.Number
The scale factor in the y-direction.
 
### Return Value
The [PointF](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF.htm.md) value which represents a scaled point.
 
## Remarks
  
This method corresponds to [PointF.Scale(Single, Single)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF_Scale_2_427c5821.htm.md) server-side member.
   
## See Also

### Reference

- [PointF Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
