applyFadingEdges

fun applyFadingEdges(context: ChartDrawContext, bounds: RectF)

Applies fading edges inside of the given bounds accordingly to the scroll state.

Parameters

context

the drawing context that holds the information necessary to draw the fading edges.

bounds

the bounds within which the fading edges will be drawn.