public class CropTransformation extends BitmapTransformation
| Modifier and Type | Class and Description |
|---|---|
static class |
CropTransformation.CropType |
| Constructor and Description |
|---|
CropTransformation(int width,
int height) |
CropTransformation(int width,
int height,
CropTransformation.CropType cropType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
protected android.graphics.Bitmap |
transform(android.content.Context context,
com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool,
android.graphics.Bitmap toTransform,
int outWidth,
int outHeight) |
void |
updateDiskCacheKey(java.security.MessageDigest messageDigest) |
transformpublic CropTransformation(int width,
int height)
public CropTransformation(int width,
int height,
CropTransformation.CropType cropType)
protected android.graphics.Bitmap transform(@NonNull
android.content.Context context,
@NonNull
com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool,
@NonNull
android.graphics.Bitmap toTransform,
int outWidth,
int outHeight)
transform in class BitmapTransformationpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in interface com.bumptech.glide.load.Keyequals in class BitmapTransformationpublic int hashCode()
hashCode in interface com.bumptech.glide.load.KeyhashCode in class BitmapTransformationpublic void updateDiskCacheKey(@NonNull
java.security.MessageDigest messageDigest)
updateDiskCacheKey in interface com.bumptech.glide.load.KeyupdateDiskCacheKey in class BitmapTransformation