skrypton-api / com.waicool20.skrypton.jni.objects / SKryptonWheelEvent / <init>

<init>

SKryptonWheelEvent(delta: Int, localPos: Point, buttons: List<MouseButton> = listOf(MouseButton.NoButton), modifiers: KeyboardModifiers = KeyboardModifiers.NoModifier, orientation: Orientation = Orientation.Vertical)

Main constructor

Parameters

delta - Amount of steps the mouse wheel was turned. Negative number means wheel UP.

localPos - Point object of the mouse event relative to the top-left corner of the SKryptonWebView.

buttons - Buttons that were involved in this event

modifiers - Modifiers that were involved in this event

orientation - Orientation of the wheel event.