Back to Fresco

TransformCallback

docs/javadoc/reference/com/facebook/drawee/drawable/TransformCallback.html

3.6.015.5 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Enums

Packages | Classes

Summary: Methods | [Expand All]

public interface

TransformCallback

| com.facebook.drawee.drawable.TransformCallback |

| Known Indirect Subclasses

ArrayDrawable, AutoRotateDrawable, FadeDrawable, ForwardingDrawable, InstrumentedDrawable, MatrixDrawable, OrientedDrawable, RootDrawable, RoundedCornersDrawable, ScaleTypeDrawable

| 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. | | InstrumentedDrawable | Used to log image params at draw-time. | | 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
Called when the drawable needs to get its root bounds.
abstract void
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. |

+Generated by Doclava. +