Package 

Class CenterCrop

  • All Implemented Interfaces:
    com.mobwith.imgmodule.load.Key , com.mobwith.imgmodule.load.Transformation

    
    public class CenterCrop
    extends BitmapTransformation
                        

    Scale the image so that either the width of the image matches the given width and the height of the image is greater than the given height or vice versa, and then crop the larger dimension to match the given dimension.

    Does not maintain the image's aspect ratio

    • Method Summary

      Modifier and Type Method Description
      boolean equals(Object o)
      int hashCode()
      void updateDiskCacheKey(@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