Contents

miterLimit

The miter limit used when stroking the shape’s path. Animatable.

Declaration

var miterLimit: CGFloat { get set }

Discussion

If the current line join style is set to miter (see lineJoin), the miter limit determines whether the lines should be joined with a bevel instead of a miter. The length of the miter is divided by the line width. If the result is greater than the miter limit, the path is drawn with a bevel.

Default is 10.0.

See Also

Accessing Shape Style Properties