---
title: "RotatedRectangleF..::.AreEqual Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_AreEqual_2_7662a811.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_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md) instances are equal.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Shared Function AreEqual ( _rect1 As RotatedRectangleF, _rect2 As RotatedRectangleF _
) As Boolean
```
 
```csharp
public static bool AreEqual(RotatedRectangleF rect1,RotatedRectangleF rect2
)
```
 
### Parameters
 
 - rect1
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.RotatedRectangleF](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
The first [RotatedRectangleF](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md) to compare.

 - rect2
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.RotatedRectangleF](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
The second [RotatedRectangleF](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md) to compare.
 
### Return Value
 
The [Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) which indicates whether rect1 and rect2 are the same instances.
   
## See Also

### Reference

- [RotatedRectangleF Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
