Instance Property

bezierPathByFlatteningPath

A flattened version of the path object.

Declaration

@property(readonly, copy) NSBezierPath *bezierPathByFlatteningPath;

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 the setDefaultFlatness: method.

See Also

Creating an NSBezierPath Object

+ bezierPath

Creates and returns a new NSBezierPath object.

+ bezierPathWithOvalInRect:

Creates and returns a new NSBezierPath object initialized with an oval path inscribed in the specified rectangle.

+ bezierPathWithRect:

Creates and returns a new NSBezierPath object initialized with a rectangular path.

+ bezierPathWithRoundedRect:xRadius:yRadius:

Creates and returns a new NSBezierPath object initialized with a rounded rectangular path.

bezierPathByReversingPath

A path containing the reversed contents of the current path object.