---
title: "Class ShapeData | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.GraphicsContainerProcessing/ShapeData/"
---

# Class ShapeData

> **Inheritance:** `System.Object` -> ShapeData

###### **Namespace**: [Aurigma.DesignAtoms.ImageProcessing.GraphicsContainerProcessing](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.GraphicsContainerProcessing.md)

###### **Assembly**: Aurigma.DesignAtoms.ImageProcessing.dll

```csharp title="Syntax"
public class ShapeData : IDisposable
```

## Implements

* `System.IDisposable`

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### ShapeData

```csharp
public ShapeData(Pen pen, Brush brush, Path path = null)
```

## Properties

### Path

```csharp
public Path Path { get; set; }
```

### Pen

```csharp
public Pen Pen { get; set; }
```

### Brush

```csharp
public Brush Brush { get; set; }
```

## Methods

### Clone

```csharp
public ShapeData Clone()
```

##### Returns

[Aurigma.DesignAtoms.ImageProcessing.GraphicsContainerProcessing.ShapeData](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.GraphicsContainerProcessing/ShapeData.md)

### GetBrushColor

```csharp
public Color GetBrushColor()
```

##### Returns

`Aurigma.GraphicsMill.Color`

### CanBeMergedWith

```csharp
public bool CanBeMergedWith(ShapeData shapeData)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.ImageProcessing.GraphicsContainerProcessing.ShapeData](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.GraphicsContainerProcessing/ShapeData.md) | *shapeData* |  |

##### Returns

`System.Boolean`

### Dispose

```csharp
public void Dispose()
```
