drawStopIndicator

fun drawStopIndicator(drawScope: DrawScope, stopSize: Dp, color: Color, strokeCap: StrokeCap)

Draws the stop indicator at the end of the track.

Parameters

drawScope

the DrawScope

stopSize

size of this stop indicator, it cannot be bigger than the track's height

color

color of this stop indicator

strokeCap

stroke cap to use for the ends of this stop indicator