## GetBounds(Matrix) {#getbounds}

获取对象的边界。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| matrix | Matrix | 将计算在边界之前应用的矩阵。 |

### 返回值

估计对象的边界。

### 也可以看看

* struct [RectangleF](../../rectanglef/)
* class [Matrix](../../matrix/)
* class [GraphicsPath](../)
* 命名空间 [Aspose.PSD](../../graphicspath/)
* 部件 [Aspose.PSD](../../../)

---

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

获取对象的边界。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| matrix | Matrix | 将计算在边界之前应用的矩阵。 |
| pen | Pen | 用于对象的笔。这会影响对象的边界大小。 |

### 返回值

估计对象的边界。

### 也可以看看

* struct [RectangleF](../../rectanglef/)
* class [Matrix](../../matrix/)
* class [Pen](../../pen/)
* class [GraphicsPath](../)
* 命名空间 [Aspose.PSD](../../graphicspath/)
* 部件 [Aspose.PSD](../../../)


