brush

abstract fun brush(progress: Float, size: Size): Brush(source)

Return a Brush to draw for the given progress and size.

Parameters

progress

the current animated progress in the range of 0f..1f.

size

The size of the current layout to draw in.