LineCap Enumeration

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

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in system.drawing.dll)

public enum LineCap
public enum LineCap
public enum LineCap

 Member nameDescription
AnchorMaskSpecifies a mask used to check whether a line cap is an anchor cap. 
ArrowAnchorSpecifies an arrow-shaped anchor cap. 
CustomSpecifies a custom line cap. 
DiamondAnchorSpecifies a diamond anchor cap. 
FlatSpecifies a flat line cap. 
NoAnchorSpecifies no anchor. 
RoundSpecifies a round line cap. 
RoundAnchorSpecifies a round anchor cap. 
SquareSpecifies a square line cap. 
SquareAnchorSpecifies a square anchor line cap. 
TriangleSpecifies a triangular line cap. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0