triangleFan

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

Draws a triangle fan on the image.

Return

A new Image object with the triangle fan drawn on the image

Parameters

color

The color of the triangle fan

points

The points to draw the triangle fan through