---
title: "RotatedRectangleF..::.areEqual Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_areEqual.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/)

# RotatedRectangleF.areEqual Method 
 
Determines whether the specified [RotatedRectangleF](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md) instances are equal.
 
**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 areEqual(rect1, rect2);
```
 
### Parameters
 
 - rect1
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.RotatedRectangleF](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
The first rotated rectangle to compare.

 - rect2
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.RotatedRectangleF](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
The second rotated rectangle to compare.
 
### Return Value
 **true** if rect1 and rect2 are equal; otherwise, **false**.
 
## Remarks
  
This method corresponds to [RotatedRectangleF.AreEqual(RotatedRectangleF, RotatedRectangleF)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_AreEqual_2_7662a811.htm.md) server-side member.
   
## See Also

### Reference

- [RotatedRectangleF Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
