Class CropCircleTransformation

  • All Implemented Interfaces:
    com.bumptech.glide.load.Key, com.bumptech.glide.load.Transformation<android.graphics.Bitmap>

    public class CropCircleTransformation
    extends com.bumptech.glide.load.resource.bitmap.BitmapTransformation
    Class that crops bitmap into a circular shape.
    • Field Summary

      • Fields inherited from interface com.bumptech.glide.load.Key

        CHARSET, STRING_CHARSET_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected android.graphics.Bitmap transform​(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool, android.graphics.Bitmap toTransform, int outWidth, int outHeight)  
      void updateDiskCacheKey​(java.security.MessageDigest messageDigest)  
      • Methods inherited from class com.bumptech.glide.load.resource.bitmap.BitmapTransformation

        transform
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.bumptech.glide.load.Key

        equals, hashCode
    • Constructor Detail

      • CropCircleTransformation

        public CropCircleTransformation​(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool)
        Constructor for CropCircleTransformation
        Parameters:
        pool - the bitmap pool
    • Method Detail

      • transform

        protected android.graphics.Bitmap transform​(@NonNull
                                                    com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool,
                                                    @NonNull
                                                    android.graphics.Bitmap toTransform,
                                                    int outWidth,
                                                    int outHeight)
        Specified by:
        transform in class com.bumptech.glide.load.resource.bitmap.BitmapTransformation
      • updateDiskCacheKey

        public void updateDiskCacheKey​(java.security.MessageDigest messageDigest)