Package-level declarations


Link copied to clipboard
class PainterLoader(density: Density, layoutDirection: LayoutDirection) : ImageBitmapLoader<Painter>

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


Link copied to clipboard
fun rememberPainterLoader(density: Density = LocalDensity.current, layoutDirection: LayoutDirection = LocalLayoutDirection.current): PainterLoader

Create and remember a PainterLoader that uses the LocalDensity and LocalLayoutDirection to generate a Palette from a Painter.