## Equals(object) {#equals_1}

Specifies whether this Point contains the same coordinates as the specified Object.

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

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object | The Object to test. |

### Return Value

`true` if obj is a Point and has the same coordinates as this Point.

### See Also

* struct [Point](../)
* namespace [System.Drawing](../../point/)
* assembly [Aspose.Drawing](../../../)

---

## Equals(Point) {#equals}

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

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

| Parameter | Type | Description |
| --- | --- | --- |
| other | Point | Other point to test |

### Return Value

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

### See Also

* struct [Point](../)
* namespace [System.Drawing](../../point/)
* assembly [Aspose.Drawing](../../../)


