Instance Method


Overridden by subclasses to define their default cursor rectangles.


- (void)resetCursorRects;


A subclass’s implementation must invoke addCursorRect:cursor: for each cursor rectangle it wants to establish. The default implementation does nothing.

Application code should never invoke this method directly; it’s invoked automatically as described in "Responding to User Events and Actions." Use the invalidateCursorRectsForView: method instead to explicitly rebuild cursor rectangles.

See Also

Managing Cursor Tracking

- addCursorRect:cursor:

Establishes the cursor to be used when the mouse pointer lies within a specified region.

- removeCursorRect:cursor:

Completely removes a cursor rectangle from the view.

- discardCursorRects

Invalidates all cursor rectangles set up using addCursorRect:cursor:.