SKryptonMouseEvent(type: MouseEventType, localPos: Point, button: MouseButton = MouseButton.NoButton, buttons: Set<MouseButton> = setOf(button), modifiers: KeyboardModifiers = KeyboardModifiers.NoModifier)
Main constructor.
localPos
- Point object of the mouse event relative to the top-left corner of the
SKryptonWebView.
button
- Button that triggered the event.