(Point p0, Point p1, int[] colors)
| 19 | // Linear |
| 20 | |
| 21 | public static Shader makeLinearGradient(Point p0, Point p1, int[] colors) { |
| 22 | return makeLinearGradient(p0._x, p0._y, p1._x, p1._y, colors); |
| 23 | } |
| 24 | |
| 25 | public static Shader makeLinearGradient(float x0, float y0, float x1, float y1, int[] colors) { |
| 26 | return makeLinearGradient(x0, y0, x1, y1, colors, null, GradientStyle.DEFAULT); |
no test coverage detected