LineCap enumeration

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

public enum LineCap


Name Value Description
Flat 0 Specifies a flat line cap.
Square 1 Specifies a square line cap.
Round 2 Specifies a round line cap.
Triangle 3 Specifies a triangular line cap.
NoAnchor 16 Specifies no anchor.
SquareAnchor 17 Specifies a square anchor line cap.
RoundAnchor 18 Specifies a round anchor cap.
DiamondAnchor 19 Specifies a diamond anchor cap.
ArrowAnchor 20 Specifies an arrow-shaped anchor cap.
AnchorMask 240 Specifies a custom line cap.
Custom 255 Specifies a mask used to check whether a line cap is an anchor cap.

See Also