Contents

flatness

The accuracy with which curves are rendered.

Declaration

var flatness: CGFloat { get set }

Discussion

The flatness value specifies the accuracy (or smoothness) with which curves are rendered. It is also the maximum error tolerance (measured in pixels) for rendering curves, where smaller numbers give smoother curves at the expense of more computation. The exact interpretation may vary slightly on different rendering devices.

The default value of this property is the value returned by the defaultFlatness method.

See Also

Related Documentation

Accessing a Path’s Attributes