Builder

class Builder(val type: MouseEventType, val x: Int, val y: Int, val button: MouseButton)(source)

Constructors

Link copied to clipboard
constructor(type: MouseEventType, x: Int, y: Int, button: MouseButton)

Properties

Link copied to clipboard

Mouse button. Only "none", "left", "right" are supported.

Link copied to clipboard

Number of times the mouse button was clicked (default: 0).

Link copied to clipboard

X delta in DIP for mouse wheel event (default: 0).

Link copied to clipboard

Y delta in DIP for mouse wheel event (default: 0).

Link copied to clipboard

Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).

Link copied to clipboard

Time at which the event occurred (default: current time).

Link copied to clipboard

Type of the mouse event.

Link copied to clipboard
val x: Int

X coordinate of the mouse pointer in DIP.

Link copied to clipboard
val y: Int

Y coordinate of the mouse pointer in DIP.

Functions

Link copied to clipboard