Class GestureDetector.GestureAdapter

    • Constructor Summary

      Constructors 
      Constructor Description
      GestureAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean fling​(float velocityX, float velocityY, int button)
      Called when the user dragged a finger over the screen and lifted it.
      boolean longPress​(float x, float y)  
      boolean pan​(float x, float y, float deltaX, float deltaY)
      Called when the user drags a finger over the screen.
      boolean panStop​(float x, float y, int pointer, int button)
      Called when no longer panning.
      boolean pinch​(Vector2 initialPointer1, Vector2 initialPointer2, Vector2 pointer1, Vector2 pointer2)
      Called when a user performs a pinch zoom gesture.
      void pinchStop()
      Called when no longer pinching.
      boolean tap​(float x, float y, int count, int button)
      Called when a tap occured.
      boolean touchDown​(float x, float y, int pointer, int button)  
      boolean zoom​(float initialDistance, float distance)
      Called when the user performs a pinch zoom gesture.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait