fillIntersectionCurvePath

fun DrawScope.fillIntersectionCurvePath(curvePoints: List<Offset>, yPointOfOrigin: Float, wave: Wave)

Used to fill the wave path using given color

Parameters

curvePoints

: points which create the bezier curve

yPointOfOrigin

: y position of x Axis

wave

: Wave data