public class CardClipDrawable
extends Drawable
Modifier and Type | Field and Description |
---|---|
static int |
BOTTOM_LEFT |
static int |
BOTTOM_RIGHT |
static int |
NONE |
static int |
TOP_LEFT |
static int |
TOP_RIGHT |
Constructor and Description |
---|
CardClipDrawable() |
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas) |
int |
getOpacity() |
void |
setAlpha(int alpha) |
void |
setClippingColor(int clippingColor) |
void |
setColorFilter(ColorFilter cf) |
void |
setCornerRadius(float radius) |
void |
setDisableClip(int edge) |
public static final int NONE
public static final int TOP_LEFT
public static final int TOP_RIGHT
public static final int BOTTOM_LEFT
public static final int BOTTOM_RIGHT
public void setAlpha(int alpha)
public void setColorFilter(ColorFilter cf)
public int getOpacity()
public void setDisableClip(int edge)
public void draw(Canvas canvas)
public void setClippingColor(int clippingColor)
public void setCornerRadius(float radius)