public static class Gradient.Linear extends Gradient.Config
(x0, y0) and (x1, y1) specify the
start and end positions, while (colors, positions) specifies the color stops.| Modifier and Type | Field and Description |
|---|---|
float |
x0 |
float |
x1 |
float |
y0 |
float |
y1 |
colors, positions| Constructor and Description |
|---|
Linear(float x0,
float y0,
float x1,
float y1,
int[] colors,
float[] positions) |
Copyright © 2018. All Rights Reserved.