public class LinearGradientPaint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ColorSVG[] |
colors |
float[] |
positions |
float |
x1 |
float |
x2 |
float |
y1 |
float |
y2 |
Constructor and Description |
---|
LinearGradientPaint(float x1,
float y1,
float x2,
float y2,
float[] positions,
ColorSVG[] colors,
Shader.TileMode tileMode) |
LinearGradientPaint(PointF start,
PointF end,
float[] positions,
ColorSVG[] colors,
Shader.TileMode tileMode,
Matrix matrix) |
public ColorSVG[] colors
public float[] positions
public float x1
public float x2
public float y1
public float y2
public LinearGradientPaint(float x1, float y1, float x2, float y2, float[] positions, ColorSVG[] colors, Shader.TileMode tileMode)
public LinearGradientPaint(PointF start, PointF end, float[] positions, ColorSVG[] colors, Shader.TileMode tileMode, Matrix matrix)