---
title: "ArcShape.GetBounds"
url: "https://reference.aspose.com/psd/net/aspose.psd.shapes/arcshape/getbounds/"
product: "Aspose.PSD for .NET API Reference"
description: "ArcShape method. Gets the objects bounds"
---

{{< psd/tize >}}
## GetBounds(Matrix) {#getbounds}

Gets the object's bounds.

```csharp
public override RectangleF GetBounds(Matrix matrix)
```

| Parameter | Type | Description |
| --- | --- | --- |
| matrix | Matrix | The matrix to apply before bounds will be calculated. |

### Return Value

The estimated object's bounds.

### See Also

* struct [RectangleF](../../../aspose.psd/rectanglef/)
* class [Matrix](../../../aspose.psd/matrix/)
* class [ArcShape](../)
* namespace [Aspose.PSD.Shapes](../../../aspose.psd.shapes/)
* assembly [Aspose.PSD](../../../)

---

## GetBounds(Matrix, Pen) {#getbounds_1}

Gets the object's bounds.

```csharp
public override RectangleF GetBounds(Matrix matrix, Pen pen)
```

| Parameter | Type | Description |
| --- | --- | --- |
| matrix | Matrix | The matrix to apply before bounds will be calculated. |
| pen | Pen | The pen to use for object. This can influence the object's bounds size. |

### Return Value

The estimated object's bounds.

### See Also

* struct [RectangleF](../../../aspose.psd/rectanglef/)
* class [Matrix](../../../aspose.psd/matrix/)
* class [Pen](../../../aspose.psd/pen/)
* class [ArcShape](../)
* namespace [Aspose.PSD.Shapes](../../../aspose.psd.shapes/)
* assembly [Aspose.PSD](../../../)


