Back to Fresco

DrawableParent

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

3.6.014.8 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Enums

Packages | Classes

Summary: Methods | [Expand All]

public interface

DrawableParent

| com.facebook.drawee.drawable.DrawableParent |

| Known Indirect Subclasses

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

| AutoRotateDrawable | Drawable that automatically rotates underlying drawable. | | 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

A drawable parent that has a single child.

Summary

Public Methods
abstract Drawable
Gets the child drawable.
abstract Drawable
Sets the new child drawable.

Public Methods

public abstract Drawable getDrawable()

Gets the child drawable.

Returns
  • the current child drawable

public abstract Drawable setDrawable(Drawable newDrawable)

Sets the new child drawable.

Parameters

| newDrawable | a new child drawable to set |

Returns
  • the old child drawable

+Generated by Doclava. +