public class RoundedVignetteBitmapDisplayer extends RoundedBitmapDisplayer
限定符和类型 | 类和说明 |
---|---|
protected static class |
RoundedVignetteBitmapDisplayer.RoundedVignetteDrawable |
RoundedBitmapDisplayer.RoundedDrawable
cornerRadius, margin
构造器和说明 |
---|
RoundedVignetteBitmapDisplayer(int cornerRadiusPixels,
int marginPixels) |
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
在接口中 BitmapDisplayer
display
在类中 RoundedBitmapDisplayer
bitmap
- Source bitmapimageAware
- Image aware view to
display BitmaploadedFrom
- Source of loaded image