## Widen(Pen) {#widen}

Adds an additional outline to the path.

```csharp
public void Widen(Pen pen)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pen | Pen | A [`Pen`](../../pen/) that specifies the width between the original outline of the path and the new outline this method creates. |

### See Also

* class [Pen](../../pen/)
* class [GraphicsPath](../)
* namespace [Aspose.Imaging](../../graphicspath/)
* assembly [Aspose.Imaging](../../../)

---

## Widen(Pen, Matrix) {#widen_1}

Adds an additional outline to the [`GraphicsPath`](../).

```csharp
public void Widen(Pen pen, Matrix matrix)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pen | Pen | A [`Pen`](../../pen/) that specifies the width between the original outline of the path and the new outline this method creates. |
| matrix | Matrix | A [`Matrix`](../../matrix/) that specifies a transform to apply to the path before widening. |

### See Also

* class [Pen](../../pen/)
* class [Matrix](../../matrix/)
* class [GraphicsPath](../)
* namespace [Aspose.Imaging](../../graphicspath/)
* assembly [Aspose.Imaging](../../../)

---

## Widen(Pen, Matrix, float) {#widen_2}

Replaces this [`GraphicsPath`](../) with curves that enclose the area that is filled when this path is drawn by the specified pen.

```csharp
public void Widen(Pen pen, Matrix matrix, float flatness)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pen | Pen | A [`Pen`](../../pen/) that specifies the width between the original outline of the path and the new outline this method creates. |
| matrix | Matrix | A [`Matrix`](../../matrix/) that specifies a transform to apply to the path before widening. |
| flatness | Single | A value that specifies the flatness for curves. |

### See Also

* class [Pen](../../pen/)
* class [Matrix](../../matrix/)
* class [GraphicsPath](../)
* namespace [Aspose.Imaging](../../graphicspath/)
* assembly [Aspose.Imaging](../../../)


