androidx.compose.ui.graphics.painter

ColorPainter

Class · from org.jetbrains.compose.ui:ui-graphics:1.12.2

No hand-written docs yet.

Painter implementation used to fill the provided bounds with the specified color

class ColorPainter(
    color: Color,
) : Painter

Is a

How to get one

Create it

Properties

color

val color: Color
Library docs

Painter implementation used to fill the provided bounds with the specified color