@Implements(value=android.graphics.drawable.GradientDrawable.class) public class ShadowGradientDrawable extends ShadowDrawable
| Constructor and Description |
|---|
ShadowGradientDrawable() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLastSetColor()
Returns the color of this drawable as set by the last call to
setColor(int color). |
protected void |
setColor(int color) |
addCorruptStreamSource, clearCorruptStreamSources, createFromPath, createFromResourceId, createFromResourceStream, createFromStream, getAlpha, getCreatedFromResId, getInputStream, getIntrinsicHeight, getIntrinsicWidth, invalidateSelf, setAlpha, setDefaultIntrinsicHeight, setDefaultIntrinsicWidth, setIntrinsicHeight, setIntrinsicWidth, validate, wasInvalidated@Implementation protected void setColor(int color)
public int getLastSetColor()
Returns the color of this drawable as set by the last call to setColor(int color).
Note that this only works if the color is explicitly set with setColor(int color). If the color of this drawable is set by another method, the result will be 0.