drawShadowUnderLineAndIntersectionPoint

fun DrawScope.drawShadowUnderLineAndIntersectionPoint(cubicPath: Path, pointsData: MutableList<Offset>, yBottom: Float, line: Line)

DrawScope.drawShadowUnderLineAndIntersectionPoint extension method used for drawing a shadow below the line graph points and also drawing intersection points on the line graph.

Parameters

cubicPath

: Path used to draw the shadow

pointsData

: List of the points on the Line graph.

yBottom

: Offset of X-Axis starting position i.e shade to be drawn until.

line

: line on which shadow & intersectionPoints has to be drawn.