
**Summary:** 

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

**Full Name:** aspose.gis.painting.PainterPen

**Aspose.PSD Version:** 25.9.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [PainterPen()](#PainterPen__1) | Initializes a new instance of the PainterPen class |
| [PainterPen(color, width, style, line_join)](#PainterPen_color_width_style_line_join_2) | Initializes a new instance of the PainterPen class |
| [PainterPen(options)](#PainterPen_options_3) | Initializes a new instance of the PainterPen class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| cap_style | [PenCapStyle](/psd/python-net/aspose.gis.painting/pencapstyle) | r |    |
| color | System.Drawing.Color | r |    |
| dash_offset | double | r |    |
| dash_pattern | System.Collections.Generic.IReadOnlyList<double> | r |    |
| line_join | [PenLineJoin](/psd/python-net/aspose.gis.painting/penlinejoin) | r |    |
| no_pen [static] | [PainterPen](/psd/python-net/aspose.gis.painting/painterpen) | r |    |
| style | [PenStyle](/psd/python-net/aspose.gis.painting/penstyle) | r |    |
| width | double | r |    |


### Constructor: PainterPen() {#PainterPen__1}


```
 PainterPen() 
```

Initializes a new instance of the PainterPen class

### Constructor: PainterPen(color, width, style, line_join) {#PainterPen_color_width_style_line_join_2}


```
 PainterPen(color, width, style, line_join) 
```

Initializes a new instance of the PainterPen class

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| color | System.Drawing.Color |  |
| width | double |  |
| style | [PenStyle](/psd/python-net/aspose.gis.painting/penstyle) |  |
| line_join | [PenLineJoin](/psd/python-net/aspose.gis.painting/penlinejoin) |  |

### Constructor: PainterPen(options) {#PainterPen_options_3}


```
 PainterPen(options) 
```

Initializes a new instance of the PainterPen class

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| options | [PainterPenOptions](/psd/python-net/aspose.gis.painting/painterpenoptions) |  |

