class SKryptonWheelEvent : SKryptonEvent
An event which indicates a mouse wheel event occurred.
SKryptonWheelEvent(delta: Int, localPos: Point, buttons: List<MouseButton> = listOf(MouseButton.NoButton), modifiers: KeyboardModifiers = KeyboardModifiers.NoModifier, orientation: Orientation = Orientation.Vertical)
Main constructor |
val buttons: Set<MouseButton>
Buttons involved in this event. |
|
val delta: Int
Amount of steps the mouse wheel was turned. Negative number means wheel UP. |
|
val globalPos: Point
Point object relative to the top-left corner of the screen. |
|
val globalX: Int
x coordinates relative to the top-left corner of the screen. |
|
val globalY: Int
y coordinates relative to the top-left corner of the screen. |
|
val isInverted: Boolean
Whether or not the value of delta was inverted. |
|
val localPos: Point
Point object relative to the top-left corner of the SKryptonWebView. |
|
val phase: ScrollPhase
Scrolling phase of this wheel event |
|
val source: MouseEventSource
Event source. |
|
val x: Int
x coordinates relative to the top-left corner of the SKryptonWebView. |
|
val y: Int
y coordinates relative to the top-left corner of the SKryptonWebView. |
open val handle: CPointer
Native pointer backing this object. |
open fun close(): Unit
Disposes this event. |