Interface OnScaleChangedListener

  • All Implemented Interfaces:

    
    public interface OnScaleChangedListener
    
                        

    Interface definition for callback to be invoked when attached ImageView scale changes

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onScaleChange(float scaleFactor, float focusX, float focusY) Callback for when the scale changes
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onScaleChange

         abstract void onScaleChange(float scaleFactor, float focusX, float focusY)

        Callback for when the scale changes

        Parameters:
        scaleFactor - the scale factor (less than 1 for zoom out, greater than 1 for zoom in)
        focusX - focal point X position
        focusY - focal point Y position