Instance Property

miterLimit

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

Declaration

@property CGFloat miterLimit;

Discussion

The miter limit helps you avoid spikes in paths that use the kCGLineJoinMiter join style. If the ratio of the miter length—that is, the diagonal length of the miter join—to the line thickness exceeds the miter limit, the joint is converted to a bevel join. The default miter limit is 10, which results in the conversion of miters with an angle at the joint of less than 11 degrees.

See Also

Accessing the Drawing Attributes

fillColor

The fill color to use for the path.

strokeColor

The stroke 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.

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.