Source set: Android
class Save(val parent: Save? = null, val children: MutableList<CanvasOp> = ArrayList()) :
CanvasOp()
Represents a save/restore group (corresponding to RemoteComposeWriter.save and RemoteComposeWriter.restore).
Properties
hasDrawCalls
Source set: Android
var hasDrawCalls = false
Indicates whether this scope or any of its descendants contain actual drawing calls. Used during the elision pass to discard empty scopes.
elisionMode
Source set: Android
var elisionMode = ElisionMode.PRESERVE
The elision strategy decided for this scope during the elision pass.
spanOp
Source set: Android
var spanOp: CanvasOperationBuffer.SpanOp?
Functions
getRootSaveNode
fun getRootSaveNode(): Save