## Intersect(RectangleF, RectangleF)

返回一个[`RectangleF`](../)表示两个矩形相交的结构。如果没有交集，且为空[`RectangleF`](../)返回.

```csharp
public static RectangleF Intersect(RectangleF a, RectangleF b)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| a | RectangleF | 要相交的第一个矩形。 |
| b | RectangleF | 要相交的第二个矩形。 |

### 返回值

三分之一[`RectangleF`](../)结构，其大小表示两个指定矩形的重叠区域。

### 也可以看看

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

---

## Intersect(RectangleF)

替换这个[`RectangleF`](../)自身与指定交集的结构[`RectangleF`](../)结构.

```csharp
public void Intersect(RectangleF rect)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| rect | RectangleF | 要相交的矩形。 |

### 也可以看看

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


