Package 

Interface OnMatrixChangedListener


  • 
    public interface OnMatrixChangedListener
    
                        

    Interface definition for a callback to be invoked when the internal Matrix has changed for this View.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onMatrixChanged(RectF rect) Callback for when the Matrix displaying the Drawable has changed.
      • Methods inherited from class java.lang.Object

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

      • onMatrixChanged

         abstract Unit onMatrixChanged(RectF rect)

        Callback for when the Matrix displaying the Drawable has changed. This could be because the View's bounds have changed, or the user has zoomed.

        Parameters:
        rect -
        • Rectangle displaying the Drawable's new bounds.