public class GradientDrawable extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GradientDrawable.Orientation |
Constructor and Description |
---|
GradientDrawable(GradientDrawable.Orientation orientation,
int[] colors) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas) |
void |
setBounds(int left,
int top,
int right,
int bottom) |
public GradientDrawable(GradientDrawable.Orientation orientation, int[] colors)
public void setBounds(int left, int top, int right, int bottom)
public void draw(Canvas canvas)