polygon

fun TriangleMesh.polygon(x: Float, y: Float, radius: Float, sides: Int, turn: Float, argb: Int, rim: Int = argb)

A filled regular polygon turned by turn radians: argb in the middle, rim at the corners.