public class

RoundedBitmapDrawable

extends RoundedDrawable
java.lang.Object
   ↳ android.graphics.drawable.Drawable
     ↳ com.facebook.drawee.drawable.RoundedDrawable
       ↳ com.facebook.drawee.drawable.RoundedBitmapDrawable

Summary

[Expand]
Inherited Fields
From class com.facebook.drawee.drawable.RoundedDrawable
Public Constructors
RoundedBitmapDrawable(Resources res, Bitmap bitmap, Paint paint)
RoundedBitmapDrawable(Resources res, Bitmap bitmap)
Public Methods
void draw(Canvas canvas)
static RoundedBitmapDrawable fromBitmapDrawable(Resources res, BitmapDrawable bitmapDrawable)
Creates a new RoundedBitmapDrawable from the given BitmapDrawable.
void setAlpha(int alpha)
void setColorFilter(ColorFilter colorFilter)
[Expand]
Inherited Methods
From class com.facebook.drawee.drawable.RoundedDrawable
From class android.graphics.drawable.Drawable
From class java.lang.Object
From interface com.facebook.drawee.drawable.Rounded
From interface com.facebook.drawee.drawable.TransformAwareDrawable

Public Constructors

public RoundedBitmapDrawable (Resources res, Bitmap bitmap, Paint paint)

public RoundedBitmapDrawable (Resources res, Bitmap bitmap)

Public Methods

public void draw (Canvas canvas)

public static RoundedBitmapDrawable fromBitmapDrawable (Resources res, BitmapDrawable bitmapDrawable)

Creates a new RoundedBitmapDrawable from the given BitmapDrawable.

Parameters
res resources to use for this drawable
bitmapDrawable bitmap drawable containing the bitmap to be used for this drawable
Returns
  • the RoundedBitmapDrawable that is created

public void setAlpha (int alpha)

public void setColorFilter (ColorFilter colorFilter)