{{< psd/tize >}}
## Contains(float, float) {#contains_2}

Determines if the specified point is contained within this [`RectangleF`](../) structure.

```csharp
public bool Contains(float x, float y)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x | Single | The x-coordinate of the point to test. |
| y | Single | The y-coordinate of the point to test. |

### Return Value

This method returns true if the point defined by *x* and *y* is contained within this [`RectangleF`](../) structure; otherwise false.

### See Also

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

---

## Contains(PointF) {#contains}

Determines if the specified point is contained within this [`RectangleF`](../) structure.

```csharp
public bool Contains(PointF point)
```

| Parameter | Type | Description |
| --- | --- | --- |
| point | PointF | The [`PointF`](../../pointf/) to test. |

### Return Value

This method returns true if the point represented by the *point* parameter is contained within this [`RectangleF`](../) structure; otherwise false.

### See Also

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

---

## Contains(RectangleF) {#contains_1}

Determines if the rectangular region represented by *rect* is entirely contained within this [`RectangleF`](../) structure.

```csharp
public bool Contains(RectangleF rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | The [`RectangleF`](../) to test. |

### Return Value

This method returns true if the rectangular region represented by *rect* is entirely contained within the rectangular region represented by this [`RectangleF`](../); otherwise false.

### See Also

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


