getCurvePoints

fun getCurvePoints(startPoint: Offset, cubicPoint1: Offset, cubicPoint2: Offset, endPoint: Offset): List<Offset>

Used to get the points which helps to construct the bezier curve

Parameters

startPoint

: startPoint of the curve

cubicPoint1

: cubicPoint1 of the curve

cubicPoint2

: cubicPoint2 of the curve

endPoint

: endPoint of the curve