Skip to main content
All docs
V25.1
  • DXGraphicsPath.Widen(DXPen) Method

    Adds an additional outline to the path.

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public void Widen(
        DXPen pen
    )

    Parameters

    Name Type Description
    pen DXPen

    The width between the original outline of the path and the new outline this method creates.

    Remarks

    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, use FillPath instead of DrawPath.

    See Also