androidx.compose.ui.graphics.drawscope

ContentDrawScope

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

No hand-written docs yet.

Receiver scope for drawing content into a layout, where the content can be drawn between other canvas operations. If drawContent is not called, the contents of the layout will not be drawn.

interface ContentDrawScope : DrawScope

Is a

Used by

Parameters that take a ContentDrawScope.

Functions

drawContent

fun drawContent()

Causes child drawing operations to run during the onPaint lambda.

Library docs

Receiver scope for drawing content into a layout, where the content can be drawn between other canvas operations. If drawContent is not called, the contents of the layout will not be drawn.