Draws a Coons patch: the interpolation of four cubics with shared corners, associating a color, and optionally a texture SkPoint, with each corner. Coons patch uses clip and Matrix, paint Shader, ColorFilter, alpha, ImageFilter, and BlendMode. If Shader is provided it is treated as Coons
(@NotNull Point[] cubics, @NotNull int[] colors, @NotNull Paint paint)
| 857 | * @see <a href="https://fiddle.skia.org/c/4cf70f8d194867d053d7e177e5088445">https://fiddle.skia.org/c/4cf70f8d194867d053d7e177e5088445</a> |
| 858 | */ |
| 859 | @NotNull @Contract("_, _, _ -> this") |
| 860 | public Canvas drawPatch(@NotNull Point[] cubics, @NotNull int[] colors, @NotNull Paint paint) { |
| 861 | return drawPatch(cubics, colors, null, paint); |
| 862 | } |
| 863 | |
| 864 | /** |
| 865 | * <p>Draws a Coons patch: the interpolation of four cubics with shared corners, |
no test coverage detected