Class

RemoteContentDrawScope

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

Source set: 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.

Last updated: