## Shape class

The shape. A continuous set of points connected using a specific rule.

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

## Properties

| Name | Description |
| --- | --- |
| abstract [Bounds](../../aspose.imaging/objectwithbounds/bounds/) { get; } | Gets the object's bounds. |
| abstract [Center](../../aspose.imaging/shape/center/) { get; } | Gets the shape's center. |
| abstract [HasSegments](../../aspose.imaging/shape/hassegments/) { get; } | Gets a value indicating whether shape has segments. |
| abstract [Segments](../../aspose.imaging/shape/segments/) { get; } | Gets the shape segments. |

## Methods

| Name | Description |
| --- | --- |
| override [Equals](../../aspose.imaging/shape/equals/)(object) | Check if objects are equal. |
| abstract [GetBounds](../../aspose.imaging/objectwithbounds/getbounds/)(Matrix) | Gets the object's bounds. |
| abstract [GetBounds](../../aspose.imaging/objectwithbounds/getbounds/)(Matrix, Pen) | Gets the object's bounds. |
| override [GetHashCode](../../aspose.imaging/shape/gethashcode/)() | Get hash code of the current object. |
| abstract [Transform](../../aspose.imaging/objectwithbounds/transform/)(Matrix) | Applies the specified transformation to the shape. |

### See Also

* class [ObjectWithBounds](../objectwithbounds/)
* namespace [Aspose.Imaging](../../aspose.imaging/)
* assembly [Aspose.Imaging](../../)


