polygonToPoints

open fun polygonToPoints(polygon: List<PointF>, points: Array<Float>)

Calculates points from polygon multiplying 0..1 values by view dimensions and applying rotation matrix. Usually used on preview as it has camera rotation

Parameters

polygon
points