Android
public abstract class RemotePainter
A class that holds drawing operations for a remote component. This is analogous to the androidx.compose.ui.graphics.painter.Painter class for remote compose operations. Subclasses of RemotePainter are responsible for implementing the onDraw method, which defines the drawing operations.
Functions
onDraw
public abstract fun RemoteDrawScope.onDraw()
Defines the drawing operations within RemoteDrawScope.
draw
public fun RemoteDrawScope.draw(
blendMode: BlendMode? = null,
alpha: RemoteFloat = DefaultAlpha.rf,
)
The main entry point for drawing. This method is called by the remote compose framework to draw the painter.