---
title: "RotatedRectangleF..::.areEqual Method "
canonical: https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_areEqual.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/).

# RotatedRectangleF.areEqual Method 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Determines whether the specified [RotatedRectangleF](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md) instances are equal.
 
**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 areEqual(rect1, rect2);
```
 
### Parameters
 
 - rect1
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math..RotatedRectangleF](https://www.graphicsmill.com/docs/gmwc/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/gmwc/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) server-side member.
   
## See Also

### Reference

- [RotatedRectangleF Class](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
