Package-level declarations

Types

Link copied to clipboard

Default values for hazeBlur.

Link copied to clipboard
sealed interface HazeBlurStyle

An opaque, shareable sequence of Blur Style writes.

Link copied to clipboard
sealed interface HazeBlurStyleScope

Blur-specific property functions available while building a HazeBlurStyle.

Link copied to clipboard
sealed interface HazeColorEffect

Describes a color effect applied by the haze effect.

Properties

Link copied to clipboard

A ProvidableCompositionLocal which provides Blur Style writes inherited by all hazeBlur modifiers in its content.

Functions

Link copied to clipboard
fun Modifier.hazeBlur(input: HazeInput, style: HazeBlurStyle = HazeBlurStyle, performanceMode: HazePerformanceMode? = null, expandLayerBounds: Boolean = true): Modifier

Applies Blur to an explicit input.

Link copied to clipboard

Creates a HazeBlurStyle which runs block whenever a node resolves its style.

Link copied to clipboard

Creates a HazeBlurStyle which compares by value: two Styles are equal when their inputs are equal. inputs must contain every value block captures, plus an identifier of the block itself. Otherwise behaves like HazeBlurStyle.