brush

abstract fun brush(progress: Float, size: <Error class: unknown class>): <Error class: unknown class>

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.