brush

open override fun brush(progress: Float, size: Size): Brush

Returns the brush to draw the highlight at the current animation progress.

Return

A Brush defining the highlight appearance

Parameters

progress

The current animation progress in the range 0.0 to 1.0

size

The size of the placeholder being drawn