MouseOrPointerEvent

indigo.shared.events.MouseOrPointerEvent

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait MouseEvent
class Click
class Enter
class Leave
class MouseDown
class MouseUp
class Move
class Wheel
trait PointerEvent
class PointerDown
class PointerEnter
class PointerLeave
class PointerMove
class PointerUp
Show all

Members list

Value members

Abstract methods

Pressed buttons

Pressed buttons

Attributes

def isAltKeyDown: Boolean

Whether the alt key was pressed when the event was fired

Whether the alt key was pressed when the event was fired

Attributes

def isCtrlKeyDown: Boolean

Whether the ctrl key was pressed when the event was fired

Whether the ctrl key was pressed when the event was fired

Attributes

def isMetaKeyDown: Boolean

Whether the meta button (Windows key, or Cmd Key) key was pressed when the event was fired

Whether the meta button (Windows key, or Cmd Key) key was pressed when the event was fired

Attributes

def isShiftKeyDown: Boolean

Whether the shift key was pressed when the event was fired

Whether the shift key was pressed when the event was fired

Attributes

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

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

Attributes

Coordinates relative to the magnification level

Coordinates relative to the magnification level

Attributes

Concrete methods

def isActive: Boolean

Indicates whether buttons are in active state

Indicates whether buttons are in active state

Attributes

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

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

def x: Int

The X position relative to the magnification level

The X position relative to the magnification level

Attributes

def y: Int

The Y position relative to the magnification level

The Y position relative to the magnification level

Attributes