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