Composable Function

RemoteCanvas

A Composable that provides a RemoteDrawScope for drawing operations in RemoteCompose.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

RemoteCanvas

Android
@RemoteComposable
@Composable
public fun RemoteCanvas(
    modifier: RemoteModifier = RemoteModifier,
    content: RemoteDrawScope.() -> Unit,
)

A Composable that provides a RemoteDrawScope for drawing operations in RemoteCompose.

Parameters

modifier The RemoteModifier to apply to this layout.
content The drawing commands to be executed on the remote canvas via RemoteDrawScope.