DrawablePainter

A Painter which draws an Android Drawable and supports Animatable drawables. Instances should be remembered to be able to start and stop Animatable animations.

Instances are usually retrieved from rememberDrawablePainter.

Constructors

Link copied to clipboard
constructor(drawable: Drawable)

Functions

Link copied to clipboard
fun DrawScope.draw(size: Size, alpha: Float, colorFilter: ColorFilter?)
Link copied to clipboard
open override fun onAbandoned()
Link copied to clipboard
open override fun onForgotten()
Link copied to clipboard
open override fun onRemembered()

Properties

Link copied to clipboard
Link copied to clipboard
open override val intrinsicSize: Size