Contents

lineCap

Specifies the line cap style for the shape’s path.

Declaration

var lineCap: CAShapeLayerLineCap { get set }

Discussion

The line cap style specifies the shape of the endpoints of an open path when stroked. The supported values are described in Line Cap Values. The following figure shows the appearance of the available line cap styles.

[Image]

The default is butt.

See Also

Accessing Shape Style Properties