public class RoundedCornersTransformation
extends java.lang.Object
implements com.bumptech.glide.load.Transformation<android.graphics.Bitmap>
| Modifier and Type | Class and Description |
|---|---|
static class |
RoundedCornersTransformation.CornerType |
| Constructor and Description |
|---|
RoundedCornersTransformation(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool,
int radius,
int margin) |
RoundedCornersTransformation(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool,
int radius,
int margin,
RoundedCornersTransformation.CornerType cornerType) |
RoundedCornersTransformation(android.content.Context context,
int radius,
int margin) |
RoundedCornersTransformation(android.content.Context context,
int radius,
int margin,
RoundedCornersTransformation.CornerType cornerType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> |
transform(com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> resource,
int outWidth,
int outHeight) |
public RoundedCornersTransformation(android.content.Context context,
int radius,
int margin)
public RoundedCornersTransformation(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool,
int radius,
int margin)
public RoundedCornersTransformation(android.content.Context context,
int radius,
int margin,
RoundedCornersTransformation.CornerType cornerType)
public RoundedCornersTransformation(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool,
int radius,
int margin,
RoundedCornersTransformation.CornerType cornerType)
public com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> transform(com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> resource,
int outWidth,
int outHeight)
transform in interface com.bumptech.glide.load.Transformation<android.graphics.Bitmap>public java.lang.String getId()
getId in interface com.bumptech.glide.load.Transformation<android.graphics.Bitmap>