Interface CropOverlayGestureCallback


  • public interface CropOverlayGestureCallback
    Callback for overlay gestures.
    • Method Detail

      • onOverlayDragged

        void onOverlayDragged​(int distanceX,
                              int distanceY)
        Called when the overlay is dragged.
        Parameters:
        distanceX - Distance the overlay was dragged on the x-axis.
        distanceY - Distance the overlay was dragged on the y-axis.
      • onOverlaySizeChanged

        void onOverlaySizeChanged​(int left,
                                  int top,
                                  int right,
                                  int bottom)
        Called when the overlay is resized.
        Parameters:
        left - Left value of the resized overlay.
        top - Top value of the resized overlay.
        right - Right value of the resized overlay.
        bottom - Bottom value of the resized overlay.