(Point p0, Point p1, int[] colors)
| 118 | // Linear |
| 119 | |
| 120 | public static Shader makeLinearGradient(Point p0, Point p1, int[] colors) { |
| 121 | return makeLinearGradient(p0._x, p0._y, p1._x, p1._y, colors); |
| 122 | } |
| 123 | |
| 124 | public static Shader makeLinearGradient(float x0, float y0, float x1, float y1, int[] colors) { |
| 125 | return makeLinearGradient(x0, y0, x1, y1, colors, null, GradientStyle.DEFAULT); |
no test coverage detected