triangleFan

fun Canvas.triangleFan(color: Color = Color.BLACK, points: List<ERROR CLASS: Symbol not found for Pair<kotlin/Int, kotlin/Int>>)
fun Canvas.triangleFan(color: Color = Color.BLACK, vararg points: ERROR CLASS: Symbol not found for Pair<kotlin/Int, kotlin/Int>)

Draws a triangle fan on the canvas.

Parameters

color

The color of the triangle fan

points

The points to draw the triangle fan through