Skip to main content
All docs
V24.1

DXPen.EndCap Property

Gets or sets the cap style applied to the end of lines.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public DXLineCap EndCap { get; set; }

Property Value

Type Description
DXLineCap

The cap style applied to line ends.

Available values:

Show 11 items
Name Description
Flat

A flat line cap.

Square

A square line cap.

Round

A round line cap.

Triangle

A triangular line cap.

NoAnchor

No cap.

SquareAnchor

A square anchor line cap.

RoundAnchor

A round anchor cap.

DiamondAnchor

A diamond anchor cap.

ArrowAnchor

An arrow-shaped anchor cap.

Custom

A custom line cap.

AnchorMask

A mask used to check whether a line cap is an anchor cap.

See Also