draw Shadow Under Line And Intersection Point
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
cubic Path
: Path used to draw the shadow
points Data
: List of the points on the Line graph.
y Bottom
: Offset of X-Axis starting position i.e shade to be drawn until.
line
: line on which shadow & intersectionPoints has to be drawn.