## Shape class

形状。使用特定规则连接的一组连续点。

```csharp
public abstract class Shape : ObjectWithBounds
```

## 特性

| 姓名 | 描述 |
| --- | --- |
| abstract [Bounds](../../aspose.psd/objectwithbounds/bounds/) { get; } | 获取对象的边界。 |
| abstract [Center](../../aspose.psd/shape/center/) { get; } | 获取形状的中心。 |
| abstract [HasSegments](../../aspose.psd/shape/hassegments/) { get; } | 获取一个值，表示形状是否有段。 |
| abstract [Segments](../../aspose.psd/shape/segments/) { get; } | 获取形状段。 |

## 方法

| 姓名 | 描述 |
| --- | --- |
| abstract [GetBounds](../../aspose.psd/objectwithbounds/getbounds/)(Matrix) | 获取对象的边界。 |
| abstract [GetBounds](../../aspose.psd/objectwithbounds/getbounds/)(Matrix, Pen) | 获取对象的边界。 |
| abstract [Transform](../../aspose.psd/objectwithbounds/transform/)(Matrix) | 将指定的变换应用于形状。 |

### 也可以看看

* class [ObjectWithBounds](../objectwithbounds/)
* 命名空间 [Aspose.PSD](../../aspose.psd/)
* 部件 [Aspose.PSD](../../)


