Enum CapStyle
Describes the shape at the end of a line or segment.
public enum CapStyle
Fields
Flat = 0
A cap that does not extend past the last point of the line. Comparable to cap used for objects other than lines.
Round = 2
A semicircle that has a diameter equal to the line thickness.
Square = 1
Half of a square that has a length equal to the line thickness.
Triangle = 3
An isosceles right triangle whose hypotenuse is equal in length to the thickness of the line.
Remarks
The following illustration shows the available cap styles for lines or segments. The red portion of the line shows the extra area added by the line cap setting.