get Curve Points
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
start Point
: startPoint of the curve
cubic Point1
: cubicPoint1 of the curve
cubic Point2
: cubicPoint2 of the curve
end Point
: endPoint of the curve