line

fun line(vararg points: Pair<Double, Double>, color: String = "#000000", strokeWidth: Double = 1.0)(source)

Adds a static line/poly-line.