Interface ScreenMouseEvents.AfterMouseDrag

Enclosing class:
ScreenMouseEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScreenMouseEvents.AfterMouseDrag
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    afterMouseDrag(Screen screen, Click context, double horizontalAmount, double verticalAmount, boolean consumed)
    Called after a mouse is dragged on screen.
  • Method Details

    • afterMouseDrag

      boolean afterMouseDrag(Screen screen, Click context, double horizontalAmount, double verticalAmount, boolean consumed)
      Called after a mouse is dragged on screen.
      Parameters:
      screen - the screen
      context - the context of the mouse drag, containing the mouse position and button
      horizontalAmount - the horizontal drag amount
      verticalAmount - the vertical drag amount
      consumed - whether the mouse drag was already consumed
      See Also:
      • GLFW.GLFW_MOUSE_BUTTON_1