## Inflate(Rectangle, int, int)

Creates and returns an inflated copy of the specified [`Rectangle`](../) structure. The copy is inflated by the specified amount. The original [`Rectangle`](../) structure remains unmodified.

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

| Parameter | Type | Description |
| --- | --- | --- |
| rect | Rectangle | The [`Rectangle`](../) with which to start. This rectangle is not modified. |
| x | Int32 | The amount to inflate this [`Rectangle`](../) horizontally. |
| y | Int32 | The amount to inflate this [`Rectangle`](../) vertically. |

### Return Value

The inflated [`Rectangle`](../).

### See Also

* struct [Rectangle](../)
* namespace [Aspose.Imaging](../../rectangle/)
* assembly [Aspose.Imaging](../../../)

---

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

Inflates this [`Rectangle`](../) by the specified amount.

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

| Parameter | Type | Description |
| --- | --- | --- |
| width | Int32 | The amount to inflate this [`Rectangle`](../) horizontally. |
| height | Int32 | The amount to inflate this [`Rectangle`](../) vertically. |

### See Also

* struct [Rectangle](../)
* namespace [Aspose.Imaging](../../rectangle/)
* assembly [Aspose.Imaging](../../../)

---

## Inflate(Size) {#inflate}

Inflates this [`Rectangle`](../) by the specified amount.

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

| Parameter | Type | Description |
| --- | --- | --- |
| size | Size | The amount to inflate this rectangle. |

### See Also

* struct [Size](../../size/)
* struct [Rectangle](../)
* namespace [Aspose.Imaging](../../rectangle/)
* assembly [Aspose.Imaging](../../../)


