public interface

TransformCallback

com.facebook.drawee.drawable.TransformCallback
Known Indirect Subclasses

Class Overview

Callback that is used to pass any transformation matrix and the root bounds from a parent drawable to its child.

Summary

Public Methods
abstract void getRootBounds(RectF bounds)
Called when the drawable needs to get its root bounds.
abstract void getTransform(Matrix transform)
Called when the drawable needs to get all matrices applied to it.

Public Methods

public abstract void getRootBounds (RectF bounds)

Called when the drawable needs to get its root bounds.

Parameters
bounds The root bounds of the drawable.

public abstract void getTransform (Matrix transform)

Called when the drawable needs to get all matrices applied to it.

Parameters
transform Matrix that is applied to the drawable by the parent drawables.