Interface

ContentDrawScope

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

Source set: Common
public 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

Source set: Common
public fun drawContent()

Causes child drawing operations to run during the onPaint lambda.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: