findControlPoints

fun findControlPoints(startPoint: Offset, endPoint: Offset): Pair<Offset, Offset>

Used to get the control points of the give curve

Parameters

startPoint

: start point of the curve

endPoint

: endPoint of the curve