## RectangleF Equality operator

Tests whether two RectangleF structures have equal location and size.

```csharp
public static bool operator ==(RectangleF left, RectangleF right)
```

| Parameter | Type | Description |
| --- | --- | --- |
| left | RectangleF | The RectangleF structure that is to the left of the equality operator. |
| right | RectangleF | The RectangleF structure that is to the right of the equality operator. |

### Return Value

This operator returns true if the two specified RectangleF structures have equal X, Y, Width, and Height properties.

### See Also

* struct [RectangleF](../)
* namespace [System.Drawing](../../rectanglef/)
* assembly [Aspose.Drawing](../../../)


