Contents

miterLimit

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

Declaration

var miterLimit: CGFloat { get set }

Discussion

The miter limit helps you avoid spikes in paths that use the CGLineJoin.miter join style. If the ratio of the miter length to the line thickness — the diagonal length of the miter join — exceeds the miter limit, the renderer converts the joint 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