Contents

flattened

A flattened version of the path object.

Declaration

@NSCopying var flattened: NSBezierPath { get }

Discussion

Flattening a path converts all curved line segments into straight line approximations. The granularity of the approximations is controlled by the path’s current flatness value, which is set using defaultFlatness.

See Also

Creating a Bézier Path