Class RoundedCornersTransform

  • All Implemented Interfaces:
    com.bumptech.glide.load.Key , com.bumptech.glide.load.Transformation

    
    public class RoundedCornersTransform
    extends BitmapTransformation
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      RoundedCornersTransform(float tl, float tr, float br, float bl) Constructor
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Bitmap transform(@NonNull() BitmapPool pool, @NonNull() Bitmap source, int outWidth, int outHeight)
      void updateDiskCacheKey(MessageDigest messageDigest)
      boolean equals(Object o)
      int hashCode()
      • Methods inherited from class com.bumptech.glide.load.resource.bitmap.BitmapTransformation

        transform
      • Methods inherited from class com.bumptech.glide.load.Transformation

        transform
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RoundedCornersTransform

        RoundedCornersTransform(float tl, float tr, float br, float bl)
        Constructor
        Parameters:
        tl - top-left corner radius
        tr - top-right corner radius
        br - bottom-right corner radius
        bl - bottom-left corner radius