Contents

miterLimit

The limit at which miter joins are converted to bevel joins.

Declaration

var miterLimit: CGFloat { get set }

Discussion

The miter limit helps you avoid spikes at the junction of two line segments connected by a miter join (NSMiterLineJoinStyle). If the ratio of the miter length—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 value of this property is the value returned by the defaultMiterLimit method.

See Also

Related Documentation

Accessing a Path’s Attributes