Class

CanvasOp.ElisionMode

Strategy for optimizing a save/restore block.

Source set: JvmAndAndroid
enum class ElisionMode {
        /** Keep the save/restore block and optimize within its scope. */
        PRESERVE,

        /**
         * Inline all non-transform children and any net-transform operations directly into the
         * parent scope.
         */
        INLINE,

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

Strategy for optimizing a save/restore block.

Members

PRESERVE

Source set: JvmAndAndroid
PRESERVE

Keep the save/restore block and optimize within its scope.

INLINE

Source set: JvmAndAndroid
INLINE

Inline all non-transform children and any net-transform operations directly into the parent scope.

DISCARD

Source set: JvmAndAndroid
DISCARD

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

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: