LineCap
Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing.Managed (4.0.0.0)
Specifies the available cap styles with which a Pen object can end a line.
- C#
- VB.NET
public enum LineCap : Enum
Public Enum LineCap As [Enum]
Fields
| 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. |
Used By
| Name | Description |
|---|---|
| Pen.EndCap | Gets or sets the cap style used at the end of lines drawn with this Pen. |