---
title: "PointF.op_Equality"
url: "https://reference.aspose.com/psd/net/aspose.psd/pointf/op_equality/"
product: "Aspose.PSD for .NET API Reference"
description: "PointF method. Compares two PointF structures. The result specifies whether the values of the X and Y properties of the two PointF structures are equal"
---

{{< psd/tize >}}
## PointF Equality operator

Compares two [`PointF`](../) structures. The result specifies whether the values of the [`X`](../x/) and [`Y`](../y/) properties of the two [`PointF`](../) structures are equal.

```csharp
public static bool operator ==(PointF point1, PointF point2)
```

| Parameter | Type | Description |
| --- | --- | --- |
| point1 | PointF | A first [`PointF`](../) to compare. |
| point2 | PointF | A second [`PointF`](../) to compare. |

### Return Value

True if the [`X`](../x/) and [`Y`](../y/) values of the first and second [`PointF`](../) structures are equal; otherwise, false.

### See Also

* struct [PointF](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


