Package 

Interface OnScaleChangedListener


  • 
    public interface OnScaleChangedListener
    
                        

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

    • Method Summary

      Modifier and Type Method Description
      abstract Unit 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
    • Method Detail

      • onScaleChange

         abstract Unit 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