PointerEvent

indigo.shared.events.PointerEvent
See thePointerEvent companion object

Represents all mouse, pen and touch events

Attributes

Companion
object
Graph
Supertypes
trait InputEvent
trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all
Known subtypes
class PointerDown
class PointerEnter
class PointerLeave
class PointerMove
class PointerUp
Show all

Members list

Value members

Abstract methods

def height: Int

The height (magnitude on the Y axis), of the contact geometry of the pointer relative to the magnification level

The height (magnitude on the Y axis), of the contact geometry of the pointer relative to the magnification level

Attributes

def isPrimary: Boolean

Indicates whether the pointer is considered primary - like first finger during multi-touch gesture

Indicates whether the pointer is considered primary - like first finger during multi-touch gesture

Attributes

Unique pointer identifier

Unique pointer identifier

Attributes

Indicates the device type that caused the event (mouse, pen, touch, etc.)

Indicates the device type that caused the event (mouse, pen, touch, etc.)

Attributes

def pressure: Double

The normalized pressure of the pointer input in the range 0 to 1, where 0 and 1 represent the minimum and maximum pressure the hardware is capable of detecting, respectively.

The normalized pressure of the pointer input in the range 0 to 1, where 0 and 1 represent the minimum and maximum pressure the hardware is capable of detecting, respectively.

Attributes

def tangentialPressure: Double

The normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress) in the range -1 to 1, where 0 is the neutral position of the control.

The normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress) in the range -1 to 1, where 0 is the neutral position of the control.

Attributes

def tiltX: Radians

The plane angle (in radians, in the range of -1.570796 to 1.570796 (-90 - 90 degrees)) between the Y–Z plane and the plane containing both the pointer (e.g. pen stylus) axis and the Y axis.

The plane angle (in radians, in the range of -1.570796 to 1.570796 (-90 - 90 degrees)) between the Y–Z plane and the plane containing both the pointer (e.g. pen stylus) axis and the Y axis.

Attributes

def tiltY: Radians

The plane angle (in radians, in the range of -1.570796 to 1.570796 (-90 - 90 degrees)) between the X–Z plane and the plane containing both the pointer (e.g. pen stylus) axis and the X axis.

The plane angle (in radians, in the range of -1.570796 to 1.570796 (-90 - 90 degrees)) between the X–Z plane and the plane containing both the pointer (e.g. pen stylus) axis and the X axis.

Attributes

def twist: Radians

The clockwise rotation of the pointer (e.g. pen stylus) around its major axis in degrees, with a value in the range 0 to 6.265732 (0 to 359 degrees)

The clockwise rotation of the pointer (e.g. pen stylus) around its major axis in degrees, with a value in the range 0 to 6.265732 (0 to 359 degrees)

Attributes

def width: Int

The width (magnitude on the X axis), of the contact geometry of the pointer relative to the magnification level

The width (magnitude on the X axis), of the contact geometry of the pointer relative to the magnification level

Attributes

Inherited methods

Pressed buttons

Pressed buttons

Attributes

Inherited from:
MouseOrPointerEvent
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def isActive: Boolean

Indicates whether buttons are in active state

Indicates whether buttons are in active state

Attributes

Inherited from:
MouseOrPointerEvent
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

Inherited from:
MouseOrPointerEvent
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

Inherited from:
MouseOrPointerEvent
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

Inherited from:
MouseOrPointerEvent
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

Inherited from:
MouseOrPointerEvent

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

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

Coordinates relative to the magnification level

Coordinates relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

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