PlaceholderHighlight

A class which provides a brush to paint placeholder based on progress.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun alpha(progress: Float): Float

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

Link copied to clipboard
abstract fun brush(progress: Float, size: Size): Brush

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

Properties

Link copied to clipboard

The optional AnimationSpec to use when running the animation for this highlight.