Skip to main content
All docs
V24.1

DXPen(Color, Single, DXLineCap) 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(
    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