---
title: "RotatedRectangleF..::.AreEqual Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_AreEqual_2_7662a811.htm
archived: true
applies_to:
  - product: "Graphics Mill"
    versions: ["5.5", "3.x-5.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

**You’re viewing outdated documentation.** [View the latest Graphics Mill documentation](https://www.graphicsmill.com/docs/gm/).

# RotatedRectangleF.AreEqual Method 

**Applies to:** Graphics Mill 5.5, 3.x-5.x (may differ) · **Archived documentation**
 
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)
