Instance Property

bounds

The bounding rectangle of the path.

Declaration

@property(nonatomic, readonly) CGRect bounds;

Discussion

The value in this property represents the smallest rectangle that completely encloses all points in the path, including any control points for Bézier and quadratic curves.

See Also

Hit Detection

- containsPoint:

Returns a Boolean value indicating whether the area enclosed by the receiver contains the specified point.

empty

A Boolean value indicating whether the path has any valid elements.