public class ComparableColorDrawable extends ColorDrawable implements ComparableDrawable
Modifier and Type | Method and Description |
---|---|
static ComparableColorDrawable |
create(int color) |
boolean |
isEquivalentTo(ComparableDrawable other) |
public boolean isEquivalentTo(ComparableDrawable other)
isEquivalentTo
in interface ComparableDrawable
other
- The other drawabletrue
iff this drawable is equivalent to the .public static ComparableColorDrawable create(int color)