LineCap

System.Drawing.Drawing2D.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.

public enum LineCap : 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

Gets or sets the cap style used at the end of lines drawn with this Pen.

Last updated

Was this helpful?