Interface

ContentDrawScope

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
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.