public class MaskTransformation
extends java.lang.Object
| Constructor and Description |
|---|
MaskTransformation(android.content.Context context,
BitmapPool pool,
int maskId) |
MaskTransformation(android.content.Context context,
int maskId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
<any> |
transform(<any> resource,
int outWidth,
int outHeight) |
public MaskTransformation(android.content.Context context,
int maskId)
maskId - If you change the mask file, please also rename the mask file, or Glide will get
the cache with the old mask. Because getId() return the same values if using the
same make file name. If you have a good idea please tell us, thanks.public MaskTransformation(android.content.Context context,
BitmapPool pool,
int maskId)