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(Object o) |
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 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(Object o)
public int hashCode()