Polygon

constructor(coordinates: List<Coordinates>, lineWidth: Float, color: Color? = null, lineColor: Color? = null)

Parameters

coordinates

List of coordinates that define the polygon's vertices

lineWidth

The width of the polygon's border

color

The fill color of the polygon

lineColor

The color of the polygon's border