
**Summary:** 

**Module:** [aspose.gis.common.formats.mapinfo.styling](/psd/python-net/aspose.gis.common.formats.mapinfo.styling/)

**Full Name:** aspose.gis.common.formats.mapinfo.styling.Pen

**Aspose.PSD Version:** 25.9.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [Pen()](#Pen__1) | Initializes a new instance of the Pen class |
| [Pen(width, pattern, color)](#Pen_width_pattern_color_2) | Initializes a new instance of the Pen class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| color | [Color](/psd/python-net/aspose.gis.common.formats.mapinfo.styling/color) | r |    |
| pattern | int | r |    |
| width | int | r |    |


### Constructor: Pen() {#Pen__1}


```
 Pen() 
```

Initializes a new instance of the Pen class

### Constructor: Pen(width, pattern, color) {#Pen_width_pattern_color_2}


```
 Pen(width, pattern, color) 
```

Initializes a new instance of the Pen class

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| width | int |  |
| pattern | int |  |
| color | [Color](/psd/python-net/aspose.gis.common.formats.mapinfo.styling/color) |  |

