This documentation is archived and is not being maintained.

LineCap Enumeration

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

[Visual Basic]
Public Enum LineCap
public enum LineCap
__value public enum LineCap
enum LineCap


Member name Description
AnchorMask Specifies a mask used to check whether a line cap is an anchor cap.
ArrowAnchor Specifies an arrow-shaped anchor cap.
Custom Specifies a custom line cap.
DiamondAnchor Specifies a diamond anchor cap.
Flat Specifies a flat line cap.
NoAnchor Specifies no anchor.
Round Specifies a round line cap.
RoundAnchor Specifies a round anchor cap.
Square Specifies a square line cap.
SquareAnchor Specifies a square anchor line cap.
Triangle Specifies a triangular line cap.


Namespace: System.Drawing.Drawing2D

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

System.Drawing.Drawing2D Namespace