Package-level declarations

Types

Link copied to clipboard

A VisualEffect implementation that applies blur effects to content.

Link copied to clipboard

Default values for the BlurVisualEffect.

Link copied to clipboard
data class HazeBlurStyle(val backgroundColor: Color = Color.Unspecified, val colorEffects: List<HazeColorEffect> = emptyList(), val blurRadius: Dp = Dp.Unspecified, val noiseFactor: Float = -1f, val fallbackColorEffect: HazeColorEffect = HazeColorEffect.Unspecified)

A holder for the style properties used by Haze.

Link copied to clipboard
sealed interface HazeColorEffect

Describes a color effect applied by the haze effect.

Link copied to clipboard
sealed interface HazeProgressive

Parameters for applying a progressive blur effect.

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

A ProvidableCompositionLocal which provides the default HazeBlurStyle for all dev.chrisbanes.haze.hazeEffect layout nodes placed within this composition local's content.

Functions

Link copied to clipboard

Configures a BlurVisualEffect for this effect scope, allowing direct access to blur-specific properties without casting.

Link copied to clipboard
fun HazeTint(brush: Brush, blendMode: BlendMode = HazeColorEffect.DefaultBlendMode): HazeColorEffect

Creates a brush-based tint effect.

fun HazeTint(color: Color, blendMode: BlendMode = HazeColorEffect.DefaultBlendMode): HazeColorEffect

Creates a color-based tint effect.