setPath

fun setPath(xys: FloatArray, ys: FloatArray, size: Int, clonePoints: Boolean = true): Path

Add a series point to the ui element

xs and ys must be the same length. Each associated index xs(i), xy(i) represents a point to add

Return

this

Parameters

xys

series of xy pixel coordinates

size

number of points to use

clonePoints

clone the input array