androidx.compose.ui.graphics.painter

BrushPainter

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 Brush. The intrinsic size of this Painter is determined by Brush.intrinsicSize

class BrushPainter(
    brush: Brush,
) : Painter

Is a

How to get one

Create it

Properties

brush

val brush: Brush
Library docs

Painter implementation used to fill the provided bounds with the specified Brush. The intrinsic size of this Painter is determined by Brush.intrinsicSize