curvePosition

fun curvePosition(p: Vector2): Vector2(source)

the time and value of the curve at p, a point of the window