Package 

Class CenterInside

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

    
    public class CenterInside
    extends BitmapTransformation
                        

    Returns the image with its original size if its dimensions match or are smaller than the target's, couple with CENTER_INSIDE in order to center it in Target. If not, then it is scaled so that one of the dimensions of the image will be equal to the given dimension and the other will be less than the given dimension (maintaining 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