Class

RemoteContentDrawScope

A remote-compatible drawing scope for RemoteCompose that provides access to the content of the component being drawn.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class RemoteContentDrawScope
internal constructor(
    remoteCanvas: RemoteCanvas,
    private val content: RemoteDrawScope.() -> Unit = {
        remoteCanvas.internalCanvas.document.drawComponentContent()
    },
) : RemoteDrawScope(remoteCanvas)

A remote-compatible drawing scope for RemoteCompose that provides access to the content of the component being drawn.

Functions

drawContent

public fun drawContent()

Draws the content of the component.