
**Summary:** Solid brush is intended for drawing continiously with specific color. This class cannot be inherited.

**Module:** [aspose.psd.brushes](/psd/python-net/aspose.psd.brushes/)

**Full Name:** aspose.psd.brushes.SolidBrush

**Inheritance:** Brush

**Aspose.PSD Version:** 24.12.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [SolidBrush()](#SolidBrush__1) | Initializes a new instance of the [SolidBrush](/psd/python-net/aspose.psd.brushes/solidbrush/) class. |
| [SolidBrush(color)](#SolidBrush_color_2) | Initializes a new instance of the [SolidBrush](/psd/python-net/aspose.psd.brushes/solidbrush/) class. |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| color | [Color](/psd/python-net/aspose.psd/color) | r/w | Gets or sets the brush color. |
| disposed | bool | r | Gets a value indicating whether this instance is disposed. |
| opacity | float | r/w | Gets or sets the brush opacity. The value should be between 0 and 1. Value of 0 means that brush is fully visible, value of 1 means the brush is fully opaque. |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [deep_clone()](#deep_clone__1) | Creates a new deep clone of the current [Brush](/psd/python-net/aspose.psd/brush/). |


### Constructor: SolidBrush() {#SolidBrush__1}


```
 SolidBrush() 
```

Initializes a new instance of the [SolidBrush](/psd/python-net/aspose.psd.brushes/solidbrush/) class.

### Constructor: SolidBrush(color) {#SolidBrush_color_2}


```
 SolidBrush(color) 
```

Initializes a new instance of the [SolidBrush](/psd/python-net/aspose.psd.brushes/solidbrush/) class.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| color | [Color](/psd/python-net/aspose.psd/color) | The solid brush color. |

### Method: deep_clone() {#deep_clone__1}


```
 deep_clone() 
```

Creates a new deep clone of the current [Brush](/psd/python-net/aspose.psd/brush/).

**Returns**

| Type | Description |
| :- | :- |
| [Brush](/psd/python-net/aspose.psd/brush) | A new [Brush](/psd/python-net/aspose.psd/brush/) which is the deep clone of this [Brush](/psd/python-net/aspose.psd/brush/) instance. |


