public class MaskPostprocessor
extends BasePostprocessor
| Constructor and Description |
|---|
MaskPostprocessor(android.content.Context context,
int maskId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
CacheKey |
getPostprocessorCacheKey() |
void |
process(android.graphics.Bitmap dest,
android.graphics.Bitmap source) |
public MaskPostprocessor(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.