## Equals(object) {#equals_1}

Determines whether the specified Object, is equal to this instance.

```csharp
public override bool Equals(object obj)
```

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object | The Object to compare with this instance. |

### Return Value

`true` if the specified Object is equal to this instance; otherwise, `false`.

### See Also

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

---

## Equals(RectangleF) {#equals}

Tests whether other [`RectangleF`](../) structure has the same location and size of this [`RectangleF`](../) structure.

```csharp
public bool Equals(RectangleF other)
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | RectangleF | Other rectangle to test |

### Return Value

This method returns `true` if other [`RectangleF`](../) structure and its X, Y, Width, and Height properties are equal to the corresponding properties of this [`RectangleF`](../) structure; otherwise, `false`.

### See Also

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


