Class

RemotePainter

A class that holds drawing operations for a remote component.

Source set: JvmAndAndroid
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: JvmAndAndroid
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: JvmAndAndroid
public abstract fun RemoteDrawScope.onDraw()

Defines the drawing operations within RemoteDrawScope.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: