androidx.compose.ui.draw

drawWithContent

Function · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

Creates a DrawModifier that allows the developer to draw before or after the layout's contents. It also allows the modifier to adjust the layout's canvas.

Parameters

fun Modifier.drawWithContent(onDraw: ContentDrawScope.() -> Unit): Modifier

onDraw: ContentDrawScope.() -> UnitRequired

Not described.

Library docs

Creates a DrawModifier that allows the developer to draw before or after the layout's contents. It also allows the modifier to adjust the layout's canvas.