Skip to main content
All docs
V23.2

DXPen(DXBrush, Single) Constructor

Initializes a new instance of the DXPen class with specified settings.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v23.2.dll

NuGet Package: DevExpress.Drawing

Declaration

public DXPen(
    DXBrush brush,
    float width
)

Parameters

Name Type Description
brush DXBrush

A brush that defines the pen parameters.

width Single

The pen width.

See Also