public class GradientDrawable
- Object
- GradientDrawable
Nested types
enum GradientDrawable.Orientation |
Constructors
public GradientDrawable(GradientDrawable.Orientation orientation, int[] colors) |
Methods
public void setBounds(int left, int top, int right, int bottom) | |
public void draw(Canvas canvas) |
Inherited methods
Constructor details
GradientDrawable
public GradientDrawable(GradientDrawable.Orientation orientation, int[] colors)Method details
setBounds
public void setBounds(int left, int top, int right, int bottom)draw
public void draw(Canvas canvas)