public class CircleBitmapDisplayer extends java.lang.Object implements BitmapDisplayer
| Modifier and Type | Class and Description |
|---|---|
static class |
CircleBitmapDisplayer.CircleDrawable |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Integer |
strokeColor |
protected float |
strokeWidth |
| Constructor and Description |
|---|
CircleBitmapDisplayer() |
CircleBitmapDisplayer(java.lang.Integer strokeColor) |
CircleBitmapDisplayer(java.lang.Integer strokeColor,
float strokeWidth) |
| Modifier and Type | Method and Description |
|---|---|
void |
display(android.graphics.Bitmap bitmap,
ImageAware imageAware,
LoadedFrom loadedFrom)
Displays bitmap in
ImageAware. |
protected final java.lang.Integer strokeColor
protected final float strokeWidth
public CircleBitmapDisplayer()
public CircleBitmapDisplayer(java.lang.Integer strokeColor)
public CircleBitmapDisplayer(java.lang.Integer strokeColor,
float strokeWidth)
public void display(android.graphics.Bitmap bitmap,
ImageAware imageAware,
LoadedFrom loadedFrom)
BitmapDisplayerImageAware.
NOTE: This method is called on UI thread so it's strongly recommended not to do any heavy work in it.display in interface BitmapDisplayerbitmap - Source bitmapimageAware - Image aware view to
display BitmaploadedFrom - Source of loaded image