Contents

lineCap

The line cap style to apply to the open ends of the path.

Declaration

var lineCap: CGLineCap { get set }

Discussion

The line cap style applies to the start and end points of any open subpaths. This property doesn’t affect closed subpaths. The default line cap style is CGLineCap.round.

See Also

Accessing the drawing attributes