polygonPath

fun polygonPath(points: List<Position2>, holes: List<Int> = listOf()): Shape.Builder


fun polygonPath(path: Path, stepSize: Float = 1.0f, holes: List<Int> = listOf()): Shape.Builder

Create a Polygon shape from a Path

Parameters

path

the path to create the shape from

stepSize

Adjust this value to control the desired point density