GraphicsPath::Widen Method (Pen^, Matrix^)
.NET Framework (current version)
Adds an additional outline to the GraphicsPath.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- 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.
- matrix
-
Type:
System.Drawing.Drawing2D::Matrix^
A Matrix that specifies a transform to apply to the path before widening.
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.
For an example, see Widen(Pen^, Matrix^, Single).
.NET Framework
Available since 1.1
Available since 1.1
Show: