points

fun points(value: String)

Sets the points attribute of the polyline using a string representation.

Parameters

value

The points as a string, where each point is represented as "x,y" and points are separated by spaces.


fun points(vararg coords: Pair<Number, Number>)

Sets the points attribute of the polyline using a vararg of coordinate pairs.

Parameters

coords

A vararg of coordinate pairs, where each pair represents a point as (x, y).