PointerDown

indigo.shared.events.PointerEvent.PointerDown
final case class PointerDown(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point, pointerId: PointerId, width: Int, height: Int, pressure: Double, tangentialPressure: Double, tiltX: Radians, tiltY: Radians, twist: Radians, pointerType: PointerType, isPrimary: Boolean, button: Option[MouseButton]) extends PointerEvent

Pointing device is in active buttons state.

Attributes

Graph
Supertypes
trait PointerEvent
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