PointerEvent

class PointerEvent(val type: PointerEventType, val x: Int, val y: Int, val button: PointerButton = PointerButton.None, val scrollDelta: Int = 0, val shift: Boolean = false, val alt: Boolean = false, val ctrl: Boolean = false, val isWithinBounds: Boolean = true)

An event of the mouse pointer at x and y, relative to the top left of the node which receives it. Coordinates can be outside of the node for drags and releases, which go to the nodes the press went to.

Constructors

Link copied to clipboard
constructor(type: PointerEventType, x: Int, y: Int, button: PointerButton = PointerButton.None, scrollDelta: Int = 0, shift: Boolean = false, alt: Boolean = false, ctrl: Boolean = false, isWithinBounds: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether the pointer is over the node, which it need not be for drags and releases.

Link copied to clipboard

Rows to scroll by for PointerEventType.Scroll: negative upwards, positive downwards.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val x: Int
Link copied to clipboard
val y: Int