Skip to main content
All docs
V24.2

DXPen(Color, Single, DXLineCap) Constructor

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

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

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