interface
WheelHitEvent
extends MouseHitEvent
Event generated when moving a mouse wheel.
Properties
- altKey
Indicates whether the alt/option key was pressed.
- Type:
-
boolean
- button
Indicates which button was pressed on the mouse.
- 0: Main button (left)
- 1: Auxiliary button (wheel, middle)
- 2: Secondary button (right)
- 3: Fourth button (browser-back)
- 4: Fifth button (browser-forward)
- Type:
-
number
- clientX
X-axis coordinate of the mouse pointer (relative to the client area).
- Type:
-
number
- clientY
Y-axis coordinate of the mouse pointer (relative to the client area).
- Type:
-
number
- ctrlKey
Indicates whether the ctrl key was pressed.
- Type:
-
boolean
- deltaX
Horizontal scroll amount.
- Type:
-
number
- deltaY
Vertical scroll amount.
- Type:
-
number
- metaKey
Indicates whether the meta key was pressed.
- Type:
-
boolean
- shiftKey
Indicates whether the shift key was pressed.
- Type:
-
boolean
- x
X-axis coordinate relative to the Canvas.
- Type:
-
number
- y
Y-axis coordinate relative to the Canvas.
- Type:
-
number