🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

RemotePainter

A class that holds drawing operations for a remote component.

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

Properties

intrinsicSize

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

Source set: Android
public abstract fun RemoteDrawScope.onDraw()

Defines the drawing operations within RemoteDrawScope.

Content updated: