public class ColorsShape
extends android.graphics.drawable.shapes.Shape
| Constructor and Description |
|---|
ColorsShape(float strokeWidth,
int[] colors) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(android.graphics.Canvas canvas,
android.graphics.Paint paint) |
int[] |
getColors() |
float |
getStrokeWidth() |
void |
setColors(int[] colors) |
void |
setStrokeWidth(float strokeWidth) |
public float getStrokeWidth()
public void setStrokeWidth(float strokeWidth)
public int[] getColors()
public void setColors(int[] colors)
public void draw(android.graphics.Canvas canvas,
android.graphics.Paint paint)
draw in class android.graphics.drawable.shapes.Shape