Skip to main content
All docs
V24.1

DXPen(DXBrush, Single) Constructor

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

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.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