# ComputeAxisAlignedBound(Rect, Matrix4x4)

> Computer the axis-aligned bound rectangle.

## Definition

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

```csharp
public Rect ComputeAxisAlignedBound(Rect position, Matrix4x4 transform)
```

### Parameters

**** (\[Rect]\(/engine/6000.5/script-reference/unityengine/rect)): Rectangle to bound.**** (\[Matrix4x4]\(/engine/6000.5/script-reference/unityengine/matrix4x4)): Transform.

### Returns

| Type                                                        | Description             |
| ----------------------------------------------------------- | ----------------------- |
| [Rect](/engine/6000.5/script-reference/unityengine/rect.md) | The axis-aligned bound. |
