Skip to main content
All docs
V23.2

DXPen(Color, Single, DXLineCap) 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(
    Color color,
    float thickness,
    DXLineCap lineCap
)

Parameters

Name Type Description
color Color

The pen color.

thickness Single

The pen width.

lineCap DXLineCap

An enumeration value that indicates the cap style applied to line ends.

See Also