Instance Property

lineCapStyle

The shape of the paths end points when stroked.

Declaration

var lineCapStyle: CGLineCap { get set }

Discussion

The line cap style is applied to the start and end points of any open subpaths. This property does not affect closed subpaths. The default line cap style is CGLineCap.butt.

See Also

Accessing Drawing Properties

var lineWidth: CGFloat

The line width of the path.

var lineJoinStyle: CGLineJoin

The shape of the joints between connected segments of a stroked path.

var miterLimit: CGFloat

The limiting value that helps avoid spikes at junctions between connected line segments.

var flatness: CGFloat

The factor that determines the rendering accuracy for curved path segments.

var usesEvenOddFillRule: Bool

A Boolean indicating whether the even-odd winding rule is in use for drawing paths.