Wheel

indigo.shared.events.MouseEvent.Wheel
See theWheel companion object
final case class Wheel(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point, deltaX: Double, deltaY: Double, deltaZ: Double) extends MouseEvent

The mouse wheel was rotated a certain amount around an axis.

Value parameters

deltaX

horizontal amount of pixels, pages or other unit, depending on delta mode, the X axis was scrolled

deltaY

horizontal amount of pixels, pages or other unit, depending on delta mode, the Y axis was scrolled

deltaZ

horizontal amount of pixels, pages or other unit, depending on delta mode, the Z axis was scrolled

Attributes

Companion
object
Graph
Supertypes
trait MouseEvent
trait InputEvent
trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def isActive: Boolean

Indicates whether buttons are in active state

Indicates whether buttons are in active state

Attributes

Inherited from:
MouseOrPointerEvent
def movementX: Int

The delta X position between this event and the last event relative to the magnification level

The delta X position between this event and the last event relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent
def movementY: Int

The delta Y position between this event and the last event relative to the magnification level

The delta Y position between this event and the last event relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def x: Int

The X position relative to the magnification level

The X position relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent
def y: Int

The Y position relative to the magnification level

The Y position relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent