Export (0) Print
Expand All

GraphicsPath.Widen Method (Pen)

Adds an additional outline to the path.

Namespace:  System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public void Widen(
	Pen pen


Type: System.Drawing.Pen

A Pen that specifies the width between the original outline of the path and the new outline this method creates.

This method creates an outline around the original lines in this GraphicsPath, with a distance between the existing lines and the new outline equal to that of the width of the Pen used in the call to Widen. If you want to fill the space between the lines you must use the FillPath rather then the DrawPath.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft