public abstract class ImageResDrawFormat<T> extends BitmapDrawFormat<T>
| Constructor and Description |
|---|
ImageResDrawFormat(int imageWidth,
int imageHeight) |
ImageResDrawFormat(int imageWidth,
int imageHeight,
android.graphics.BitmapFactory.Options options) |
| Modifier and Type | Method and Description |
|---|---|
protected android.graphics.Bitmap |
getBitmap(T t,
java.lang.String value,
int position)
获取bitmap
|
protected abstract android.content.Context |
getContext() |
protected abstract int |
getResourceID(T t,
java.lang.String value,
int position) |
draw, getImageHeight, getImageWidth, measureHeight, measureWidth, setImageHeight, setImageWidthpublic ImageResDrawFormat(int imageWidth,
int imageHeight)
public ImageResDrawFormat(int imageWidth,
int imageHeight,
android.graphics.BitmapFactory.Options options)
protected android.graphics.Bitmap getBitmap(T t, java.lang.String value, int position)
BitmapDrawFormatgetBitmap in class BitmapDrawFormat<T>t - 数据value - 值position - 位置protected abstract android.content.Context getContext()
protected abstract int getResourceID(T t, java.lang.String value, int position)