add

fun add(x: Float, y: Float): Polyline

Adds a point to the polyline

Return

this

Parameters

x

x point in pixels

y

y point in pixels