## Contains(float, float) {#contains_2}

确定指定点是否包含在此[`RectangleF`](../)结构.

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| x | Single | 要测试的点的 x 坐标。 |
| y | Single | 要测试的点的 y 坐标。 |

### 返回值

如果由定义的点，则此方法返回 true*x*和*y*包含在这个[`RectangleF`](../)结构;否则为假。

### 也可以看看

* struct [RectangleF](../)
* 命名空间 [Aspose.PSD](../../rectanglef/)
* 部件 [Aspose.PSD](../../../)

---

## Contains(PointF) {#contains}

确定指定点是否包含在此[`RectangleF`](../)结构.

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| point | PointF | 这[`PointF`](../../pointf/)去测试。 |

### 返回值

如果由*point*参数包含在此[`RectangleF`](../)结构;否则为假。

### 也可以看看

* struct [PointF](../../pointf/)
* struct [RectangleF](../)
* 命名空间 [Aspose.PSD](../../rectanglef/)
* 部件 [Aspose.PSD](../../../)

---

## Contains(RectangleF) {#contains_1}

判断所代表的矩形区域是否*rect*完全包含在这个[`RectangleF`](../)结构.

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| rect | RectangleF | 这[`RectangleF`](../)去测试。 |

### 返回值

如果矩形区域由*rect*完全包含在由此代表的矩形区域内[`RectangleF`](../);否则为假。

### 也可以看看

* struct [RectangleF](../)
* 命名空间 [Aspose.PSD](../../rectanglef/)
* 部件 [Aspose.PSD](../../../)


