Interface

ContentDrawScope

Receiver scope for drawing content into a layout, where the content can be drawn between other canvas operations.

Common
@JvmDefaultWithCompatibility
interface ContentDrawScope : DrawScope

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.

Functions

drawContent

fun drawContent()

Causes child drawing operations to run during the onPaint lambda.