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).
Functions
write
Source set: Android
override fun write(writer: RemoteComposeWriter, creationState: RemoteComposeCreationState)
containsDrawingPrimitives
Source set: Android
override fun containsDrawingPrimitives(): Boolean
switchesCanvasOrHasCondition
Source set: Android
override fun switchesCanvasOrHasCondition(): Boolean
emitsWireCommands
Source set: Android
override fun emitsWireCommands(): Boolean
toString
Source set: Android
override fun toString(): String