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

<init>

SKryptonMouseEvent(type: MouseEventType, localPos: Point, button: MouseButton = MouseButton.NoButton, buttons: Set<MouseButton> = setOf(button), modifiers: KeyboardModifiers = KeyboardModifiers.NoModifier)

Main constructor.

Parameters

type - Type of mouse event.

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

button - Button that triggered the event.

buttons - Buttons that were involved in the event.

modifiers - Modifiers that were involved in the event.