HazeChildScope

interface HazeChildScope

Inheritors

Properties

Link copied to clipboard
abstract var alpha: Float

The opacity that the overall effect will drawn with, in the range of 0..1.

Link copied to clipboard
abstract var backgroundColor: Color

Color to draw behind the blurred content. Ideally should be opaque so that the original content is not visible behind. Typically this would be MaterialTheme.colorScheme.surface or similar.

Link copied to clipboard
abstract var blurEnabled: Boolean

Whether the blur effect is enabled or not, when running on platforms which support blurring.

Link copied to clipboard
abstract var blurRadius: Dp

Radius of the blur.

Link copied to clipboard
abstract var fallbackTint: HazeTint

The HazeTint to use when Haze uses the fallback scrim functionality.

Link copied to clipboard

The input scale factor, which needs to be in the range 0 < x <= 1. Defaults to 1.0, resulting in no scaling.

Link copied to clipboard
abstract var mask: Brush?

Optional alpha mask which allows effects such as fading via a Brush.verticalGradient or similar. This is only applied when progressive is null.

Link copied to clipboard
abstract var noiseFactor: Float

Amount of noise applied to the content, in the range 0f to 1f. Anything outside of that range will be clamped.

Link copied to clipboard

Parameters for enabling a progressive (or gradient) blur effect, or null for a uniform blurring effect. Defaults to null.

Link copied to clipboard
abstract var style: HazeStyle

Style set on this specific HazeChildNode.

Link copied to clipboard
abstract var tints: List<HazeTint>

The HazeTints to apply to the blurred content.