com.facebook.drawee.drawable.TransformCallback |
Known Indirect Subclasses
ArrayDrawable |
A Drawable that contains an array of other Drawables (layers). |
AutoRotateDrawable |
Drawable that automatically rotates underlying drawable. |
FadeDrawable |
A drawable that fades to the specific layer. |
ForwardingDrawable |
A forwarding drawable class - the goal is to forward (delegate) drawable functionality to an
inner drawable instance. |
MatrixDrawable |
Drawable that can adjust underlying drawable based on specified Matrix. |
OrientedDrawable |
Drawable that automatically rotates the underlying drawable with a pivot in the center of the
drawable bounds based on a rotation angle. |
RootDrawable |
The root drawable of a DraweeHierarchy. |
RoundedCornersDrawable |
Drawable that draws underlying drawable with rounded corners. |
ScaleTypeDrawable |
Drawable that can scale underlying drawable based on specified ScalingUtils.ScaleType
options. |
|
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.
|