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

CanvasOp.ElisionMode

The strategy for rendering a SaveRestore node during flush.

Source set: Android
enum class ElisionMode {
        /**
         * Keep the save/restore bounds and write [RemoteComposeWriter.save] and
         * [RemoteComposeWriter.restore].
         */
        PRESERVE,

        /**
         * Discard the save/restore bounds but write all the children. This inlines the children
         * into the parent scope.
         */
        INLINE,

        /** Discard the save/restore block and all of its children. */
        DISCARD,
    }

The strategy for rendering a SaveRestore node during flush.

Members

PRESERVE

Source set: Android
PRESERVE

Keep the save/restore bounds and write RemoteComposeWriter.save and RemoteComposeWriter.restore.

INLINE

Source set: Android
INLINE

Discard the save/restore bounds but write all the children. This inlines the children into the parent scope.

DISCARD

Source set: Android
DISCARD

Discard the save/restore block and all of its children.

Content updated: