public class RoundedVignetteBitmapDisplayer extends RoundedBitmapDisplayer
Modifier and Type | Class and Description |
---|---|
protected static class |
RoundedVignetteBitmapDisplayer.RoundedVignetteDrawable |
RoundedBitmapDisplayer.RoundedDrawable
cornerRadius, margin
Constructor and Description |
---|
RoundedVignetteBitmapDisplayer(int cornerRadiusPixels,
int marginPixels) |
Modifier and Type | Method and Description |
---|---|
void |
display(android.graphics.Bitmap bitmap,
ImageAware imageAware,
LoadedFrom loadedFrom)
Displays bitmap in
ImageAware . |
public RoundedVignetteBitmapDisplayer(int cornerRadiusPixels, int marginPixels)
public void display(android.graphics.Bitmap bitmap, ImageAware imageAware, LoadedFrom loadedFrom)
BitmapDisplayer
ImageAware
.
NOTE: This method is called on UI thread so it's strongly recommended not to do any heavy work in it.display
in interface BitmapDisplayer
display
in class RoundedBitmapDisplayer
bitmap
- Source bitmapimageAware
- Image aware view to
display BitmaploadedFrom
- Source of loaded image