Package 

Class TapGestureFinder

    • Method Summary

      Modifier and Type Method Description
      float getValue(float currValue, float minValue, float maxValue) For CONTINUOUS gestures, returns the float value at the currentgesture state.
      • Methods inherited from class com.otaliastudios.cameraview.gesture.GestureFinder

        computeValue, getGesture, getPoints, isActive, onTouchEvent, setActive
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getValue

         float getValue(float currValue, float minValue, float maxValue)

        For CONTINUOUS gestures, returns the float value at the currentgesture state. This means, for example, scaling the old value with a pinch factor,taking into account the minimum and maximum values.

        Parameters:
        currValue - the last value
        minValue - the min possible value
        maxValue - the max possible value