rotatePolygon

fun rotatePolygon(polygon: List<PointF>, rotation: Float = 0.0f): List<PointF>

Rotate polygon.