PainterLoader

class PainterLoader(density: Density, layoutDirection: LayoutDirection) : ImageBitmapLoader<Painter>

A default loader that takes an Painter, draws it as an ImageBitmap and returns that.

Constructors

Link copied to clipboard
constructor(density: Density, layoutDirection: LayoutDirection)

Functions

Link copied to clipboard
open suspend override fun load(input: Painter): ImageBitmap