Function

drawWithContent

Creates a RemoteModifier that allows drawing with the component's content.

drawWithContent

Source set: JvmAndAndroid
public fun RemoteModifier.drawWithContent(
    onDraw: RemoteContentDrawScope.() -> Unit
): RemoteModifier

Creates a RemoteModifier that allows drawing with the component's content.

Parameters

onDraw The drawing block that provides access to RemoteContentDrawScope.

Return

a RemoteModifier that draws using onDraw

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: