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.
Properties
intrinsicSize
public abstract val intrinsicSize: RemoteSize?
The intrinsic size of the painter. This is the size of the painter before any scaling or transformations are applied.
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.