## Complement(RectangleF) {#complement_2}

更新这个[`Region`](../)包含指定的部分[`RectangleF`](../../rectanglef/)与此不相交的结构[`Region`](../) .

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| rect | RectangleF | 这[`RectangleF`](../../rectanglef/)结构来补充这个[`Region`](../). |

### 也可以看看

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

---

## Complement(Rectangle) {#complement_1}

更新这个[`Region`](../)包含指定的部分[`Rectangle`](../../rectangle/)与此不相交的结构[`Region`](../) .

```csharp
public void Complement(Rectangle rect)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| rect | Rectangle | 这[`Rectangle`](../../rectangle/)结构来补充这个[`Region`](../). |

### 也可以看看

* struct [Rectangle](../../rectangle/)
* class [Region](../)
* 命名空间 [Aspose.PSD](../../region/)
* 部件 [Aspose.PSD](../../../)

---

## Complement(GraphicsPath) {#complement}

更新这个[`Region`](../)包含指定的部分[`GraphicsPath`](../../graphicspath/)与此不相交[`Region`](../) .

```csharp
public void Complement(GraphicsPath path)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| path | GraphicsPath | 这[`GraphicsPath`](../../graphicspath/)补充这个[`Region`](../). |

### 例外

| 例外 | （健康）状况 |
| --- | --- |
| ArgumentNullException | *path*isnull. |

### 也可以看看

* class [GraphicsPath](../../graphicspath/)
* class [Region](../)
* 命名空间 [Aspose.PSD](../../region/)
* 部件 [Aspose.PSD](../../../)

---

## Complement(Region) {#complement_3}

更新这个[`Region`](../)包含指定的部分[`Region`](../)与此不相交[`Region`](../) .

```csharp
public void Complement(Region region)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| region | Region | 这[`Region`](../)反对补充这个[`Region`](../)目的。 |

### 例外

| 例外 | （健康）状况 |
| --- | --- |
| ArgumentNullException | *region*isnull. |

### 也可以看看

* class [Region](../)
* 命名空间 [Aspose.PSD](../../region/)
* 部件 [Aspose.PSD](../../../)


