---
title: "Rectangle..::.round Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_Rectangle_round.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/)

# Rectangle.round Method 
 
Rounds all parameters: [x](https://www.graphicsmill.com/docs/gm5/F_J_GraphicsMill_Rectangle_x.htm.md), [y](https://www.graphicsmill.com/docs/gm5/F_J_GraphicsMill_Rectangle_y.htm.md), [width](https://www.graphicsmill.com/docs/gm5/F_J_GraphicsMill_Rectangle_width.htm.md), and [height](https://www.graphicsmill.com/docs/gm5/F_J_GraphicsMill_Rectangle_height.htm.md); and returns new [Rectangle](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_Rectangle.htm.md) object.
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function round();
```
 
### Return Value
New rounded [Rectangle](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_Rectangle.htm.md) object.
   
## See Also

### Reference

- [Rectangle Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_Rectangle.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
