Draws a triangle fan mesh, using clip and Matrix. If paint contains an Shader, the shader is mapped using the vertices' positions. If vertices colors are defined in vertices, and Paint paint contains Shader, BlendMode mode combines vertices colors with Shader. @param position
(@NotNull Point[] positions, @Nullable int[] colors, @NotNull Paint paint)
| 773 | * @see <a href="https://fiddle.skia.org/c/@Canvas_drawVertices_2">https://fiddle.skia.org/c/@Canvas_drawVertices_2</a> |
| 774 | */ |
| 775 | @NotNull @Contract("_, _, _ -> this") |
| 776 | public Canvas drawTriangleFan(@NotNull Point[] positions, @Nullable int[] colors, @NotNull Paint paint) { |
| 777 | return drawTriangleFan(positions, colors, null, null, BlendMode.MODULATE, paint); |
| 778 | } |
| 779 | |
| 780 | /** |
| 781 | * <p>Draws a triangle fan mesh, using clip and Matrix.</p> |
no test coverage detected