drawWavePath

fun DrawScope.drawWavePath(path: Path, pointsData: MutableList<Offset>, lineStyle: LineStyle, wave: Wave, yPointOfOrigin: Float): Path

Used to draw the wave

Parameters

path

: Represent the single cubic bezier curve path using the given points

pointsData

: curve points

lineStyle

: styling for the path drawn in the line graph

wave

: Wave data

yPointOfOrigin

: y position of x Axis