public class BorderColorDrawable extends Drawable implements ComparableDrawable
Modifier and Type | Class and Description |
---|---|
static class |
BorderColorDrawable.Builder |
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas) |
boolean |
equals(java.lang.Object o) |
ColorFilter |
getColorFilter() |
int |
getOpacity() |
int |
hashCode() |
void |
init() |
boolean |
isEquivalentTo(ComparableDrawable other) |
void |
setAlpha(int alpha) |
void |
setColorFilter(ColorFilter colorFilter) |
public void init()
public void draw(Canvas canvas)
public void setAlpha(int alpha)
public void setColorFilter(ColorFilter colorFilter)
public ColorFilter getColorFilter()
public int getOpacity()
public boolean isEquivalentTo(ComparableDrawable other)
isEquivalentTo
in interface ComparableDrawable
other
- The other drawabletrue
iff this drawable is equivalent to the .public boolean equals(java.lang.Object o)
public int hashCode()