fillCurvePath

fun DrawScope.fillCurvePath(yPointOfOrigin: Float, pointPosition: AxisPosition, wave: Wave, startPoint: Offset, endPoint: Offset, cubicPoints1: Offset, cubicPoints2: Offset)

Used to fill the line path

Parameters

yPointOfOrigin

y offset point on xAxis

pointPosition

: line point position

wave

: Wave data

startPoint

: startPoint of the curve

endPoint

: endPoint of the curve

cubicPoints1

: control point 1

cubicPoints2

: control point 2