Instance Property


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


@property(readonly, getter=isEmpty) BOOL empty;


Valid path elements include commands to move to a specified point, draw a line or curve segment, or close the path. Thus, a path is not considered empty even if all you do is call the moveToPoint: method.

See Also

Hit Detection

- containsPoint:

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


The bounding rectangle of the path.