# Inflate(Rect, float, float, float, float)

> Creates and returns an enlarged copy of the specified rectangle. The copy is enlarged by the specified amounts.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.6/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

```csharp
public static Rect Inflate(Rect a, float left, float top, float right, float bottom)
```

### Parameters

**** (\[Rect]\(/engine/6000.6/script-reference/unityengine/rect)): The original rectangle.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The amount to inflate the rectangle towards the left.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The amount to inflate the rectangle towards the top.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The amount to inflate the rectangle towards the right.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The amount to inflate the rectangle towards the bottom.

### Returns

| Type                                                        | Description |
| ----------------------------------------------------------- | ----------- |
| [Rect](/engine/6000.6/script-reference/unityengine/rect.md) |             |
