Start native apps faster with the Composables CLI ->
Class

CanvasOp.Draw

Represents an actual drawing or state-setting operation (e.g., drawRect).

Source set: Android
class Draw(val switchesCanvas: Boolean = false, val action: (RemoteComposeWriter) -> Unit) :
        CanvasOp()

Represents an actual drawing or state-setting operation (e.g., drawRect).

Secondary Constructors

constructor(action: (RemoteComposeWriter) -> Unit) : this(false, action)

Last updated: