Interface OnMatrixChangedListener

  • All Implemented Interfaces:

    
    public interface OnMatrixChangedListener
    
                        

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

    • 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 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
    • Constructor Detail

    • Method Detail

      • onMatrixChanged

         abstract void 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.