resetCursorRects()
Overridden by subclasses to define their default cursor rectangles.
Declaration
func resetCursorRects()Discussion
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 invalidateCursorRects(for:) method instead to explicitly rebuild cursor rectangles.