-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.Key,com.mobwith.imgmodule.load.Transformation
public class CircleCrop extends BitmapTransformation
A ImageModule BitmapTransformation to circle crop an image. Behaves similar to a transform, but the resulting image is masked to a circle.
Uses a PorterDuff blend mode, see http://ssp.impulsetrain.com/porterduff.html.
-
-
Method Summary
Modifier and Type Method Description booleanequals(Object o)inthashCode()voidupdateDiskCacheKey(@NonNull() MessageDigest messageDigest)Adds all uniquely identifying information to the given digest. -
Methods inherited from class com.mobwith.imgmodule.load.resource.bitmap.BitmapTransformation
transform -
Methods inherited from class com.mobwith.imgmodule.load.Transformation
transform -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
hashCode
int hashCode()
-
updateDiskCacheKey
void updateDiskCacheKey(@NonNull() MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
Note - Using reset inside of this method will resultin undefined behavior.
-
-
-
-