public class


extends Drawable
     ↳ com.facebook.drawee.debug.DebugControllerOverlayDrawable

Class Overview

Drawee Controller overlay that displays debug information.


Public Constructors
Public Methods
void draw(Canvas canvas)
int getOpacity()
void reset()
void setAlpha(int alpha)
void setAnimationInfo(int frameCount, int loopCount)
void setColorFilter(ColorFilter cf)
void setControllerId(String controllerId)
void setDimensions(int widthPx, int heightPx)
void setImageFormat(String imageFormat)
void setImageSize(int imageSizeBytes)
void setScaleType(ScalingUtils.ScaleType scaleType)
void setTextGravity(int textGravity)
The text gravity / direction for the debug text.
Protected Methods
void onBoundsChange(Rect bounds)
Inherited Methods
From class
From class java.lang.Object

Public Constructors

public DebugControllerOverlayDrawable ()

Public Methods

public void draw (Canvas canvas)

public int getOpacity ()

public void reset ()

public void setAlpha (int alpha)

public void setAnimationInfo (int frameCount, int loopCount)

public void setColorFilter (ColorFilter cf)

public void setControllerId (String controllerId)

public void setDimensions (int widthPx, int heightPx)

public void setImageFormat (String imageFormat)

public void setImageSize (int imageSizeBytes)

imageSizeBytes the image size in bytes

public void setScaleType (ScalingUtils.ScaleType scaleType)

public void setTextGravity (int textGravity)

The text gravity / direction for the debug text. Currently supported: BOTTOM and TOP. If bottom is used, the text lines will also be drawn from bottom to top. Default: bottom

textGravity the text gravity to use

Protected Methods

protected void onBoundsChange (Rect bounds)