LineCap

LineCap enum

Indicates the available cap styles with which a Pen object can end a line.

enum class LineCap

Values

NameValueDescription
Flat0Flat line cap.
Square1Square line cap.
Round2Round line cap.
Triangle3Triangular line cap.
NoAnchor16No anchor.
SquareAnchor17Square anchor line cap.
RoundAnchor18Round anchor line cap.
DiamondAnchor19Diamond anchor line cap.
ArrowAnchor20Arrow anchor line cap.
AnchorMask240A mask used to check if a line cap is an anchor cap.
Custom255Custom cap.

See Also