{{< psd/tize >}}
## Inflate(RectangleF, float, float)

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

```csharp
public static RectangleF Inflate(RectangleF rect, float x, float y)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | The [`RectangleF`](../) to be copied. This rectangle is not modified. |
| x | Single | The amount to inflate the copy of the rectangle horizontally. |
| y | Single | The amount to inflate the copy of the rectangle vertically. |

### Return Value

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

### See Also

* struct [RectangleF](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)

---

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

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

```csharp
public void Inflate(float x, float y)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x | Single | The amount to inflate this [`RectangleF`](../) structure horizontally. |
| y | Single | The amount to inflate this [`RectangleF`](../) structure vertically. |

### See Also

* struct [RectangleF](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)

---

## Inflate(SizeF) {#inflate}

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

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

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

### See Also

* struct [SizeF](../../sizef/)
* struct [RectangleF](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


