alpha

@FloatRange(from = 0.0, to = 1.0)
abstract fun alpha(progress: Float): Float

Return the desired alpha value used for drawing the Brush returned from brush.

Parameters

progress

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