## Inflate(Rectangle, int, int)

创建一个[`Rectangle`](../../rectangle)膨胀了指定的数量。

```csharp
public static Rectangle Inflate(Rectangle rect, int x, int y)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| rect | Rectangle | 一个要膨胀的矩形。 |
| x | Int32 | 由指定的矩形膨胀量*rect*水平。 |
| y | Int32 | 由指定的矩形膨胀量*rect*垂直。 |

### 返回值

返回一个[`Rectangle`](../../rectangle)即按指定数量膨胀。

### 也可以看看

* struct [Rectangle](../../rectangle)
* 命名空间 [System.Drawing](../../rectangle)
* 部件 [Aspose.Drawing](../../../)

---

## Inflate(int, int) {#inflate}

放大这个Rectangle按指定数量。

```csharp
public void Inflate(int width, int height)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| width | Int32 | 膨胀的金额Rectangle水平。 |
| height | Int32 | 膨胀的金额Rectangle垂直。 |

### 也可以看看

* struct [Rectangle](../../rectangle)
* 命名空间 [System.Drawing](../../rectangle)
* 部件 [Aspose.Drawing](../../../)

---

## Inflate(Size) {#inflate_1}

放大这个Rectangle按指定数量。

```csharp
public void Inflate(Size size)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| size | Size | 膨胀这个的尺寸Rectangle. |

### 也可以看看

* struct [Size](../../size)
* struct [Rectangle](../../rectangle)
* 命名空间 [System.Drawing](../../rectangle)
* 部件 [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
