MouseEvent
data class MouseEvent(var type: MouseEvent.Type = Type.MOVE, var id: Int = 0, var x: Int = 0, var y: Int = 0, var button: MouseButton = MouseButton.NONE, var buttons: Int = 0, var scrollDeltaX: Float = 0.0f, var scrollDeltaY: Float = 0.0f, var scrollDeltaZ: Float = 0.0f, var isShiftDown: Boolean = false, var isCtrlDown: Boolean = false, var isAltDown: Boolean = false, var isMetaDown: Boolean = false, var scaleCoords: Boolean = true, var emulated: Boolean = false, var scrollDeltaMode: MouseEvent.ScrollDeltaMode = ScrollDeltaMode.LINE) : Event, TEvent<MouseEvent>
x and y positions are window-based where 0,0 is the top-left position in the window client area
Constructors
Link copied to clipboard
constructor(type: MouseEvent.Type = Type.MOVE, id: Int = 0, x: Int = 0, y: Int = 0, button: MouseButton = MouseButton.NONE, buttons: Int = 0, scrollDeltaX: Float = 0.0f, scrollDeltaY: Float = 0.0f, scrollDeltaZ: Float = 0.0f, isShiftDown: Boolean = false, isCtrlDown: Boolean = false, isAltDown: Boolean = false, isMetaDown: Boolean = false, scaleCoords: Boolean = true, emulated: Boolean = false, scrollDeltaMode: MouseEvent.ScrollDeltaMode = ScrollDeltaMode.LINE)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard