Skip to main content
All docs
V24.1

DXGraphicsPath.Widen(DXPen, DXMatrix) Method

Adds an additional outline to the DXGraphicsPath object.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public void Widen(
    DXPen pen,
    DXMatrix matrix
)

Parameters

Name Type Description
pen DXPen

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

matrix DXMatrix

A matrix that specifies a transform to apply to the path before widening.

Remarks

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

See Also