Protocol
MouseMoveHandler
public protocol MouseMoveHandler : EventHandler
A type conforming to MouseMoveHandler
is capable of receiving
mouse move events through the onMouseMove method.
Before receiving events, it must be registered with the dispatcher via the registerMouseMoveHandler method. Similarly, it should be unregistered before deinitialization via the unregisterMouseMoveHandler method available through the dispatcher.
Relationships
Conforms To
EventHandler
An
Eventhandler
is a type capable of being registered with theDispatcher
to receive events of a certain type.
Requirements
onMouseMove(globalLocation:movement:)
func onMouseMove(globalLocation:Point, movement:Point)