class RemoteContentDrawScope : RemoteDrawScope


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

Summary

Public functions

Unit

Draws the content of the component.

Inherited functions

From androidx.compose.remote.creation.compose.layout.RemoteDrawScope
Unit
drawArc(
    paint: RemotePaint?,
    startAngle: RemoteFloat,
    sweepAngle: RemoteFloat,
    useCenter: Boolean,
    topLeft: RemoteOffset,
    size: RemoteSize
)
Unit
drawRect(paint: RemotePaint?, topLeft: RemoteOffset, size: RemoteSize)
Unit
drawRoundRect(
    paint: RemotePaint?,
    topLeft: RemoteOffset,
    size: RemoteSize,
    cornerRadius: RemoteOffset
)
Unit
drawTextOnCircle(
    text: RemoteString,
    centerX: RemoteFloat,
    centerY: RemoteFloat,
    radius: RemoteFloat,
    startAngle: RemoteFloat,
    warpRadiusOffset: RemoteFloat,
    paint: RemotePaint?
)

Draws text along a circle.

Unit
usePaint(paint: RemotePaint, block: () -> Unit)

Inherited properties

From androidx.compose.remote.creation.compose.layout.RemoteDrawScope
RemoteOffset

The center of the drawing area as a RemoteOffset.

RemoteFloat

The height of the drawing area as a RemoteFloat.

RemoteSize

The size of the drawing area as a RemoteSize.

RemoteFloat

The width of the drawing area as a RemoteFloat.

From androidx.compose.remote.creation.compose.state.RemoteStateScope
open LayoutDirection

The LayoutDirection associated with the document being drawn into.

open RemoteDensity

The RemoteDensity associated with the document being drawn into.

Public functions

drawContent

Added in 1.0.0-alpha12
fun drawContent(): Unit

Draws the content of the component.