Instance Property

lineCapStyle

The shape of the paths end points when stroked.

Declaration

@property(nonatomic) CGLineCap lineCapStyle;

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 kCGLineCapButt.

See Also

Accessing Drawing Properties

lineWidth

The line width of the path.

lineJoinStyle

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

miterLimit

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

flatness

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

usesEvenOddFillRule

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

- setLineDash:count:phase:

Sets the line-stroking pattern for the path.

- getLineDash:count:phase:

Retrieves the line-stroking pattern for the path.