Instance Property

strokeColor

The stroke color to use for the path.

Declaration

iOS, Mac Catalyst, tvOS
@property(strong) UIColor *strokeColor;
macOS
@property(strong) NSColor *strokeColor;

See Also

Accessing the Drawing Attributes

fillColor

The fill color to use for the path.

lineWidth

The stroke width to use for the path.

lineJoin

The line join style to apply to corners of the path.

lineCap

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

miterLimit

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

lineDashPhase

The offset (in points) at which to start drawing the dash pattern.

lineDashPattern

An array of numbers specifying the dash pattern to use for the path.