HazeChildScope
Properties
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.
Whether the blur effect is enabled or not, when running on platforms which support blurring.
Radius of the blur.
The HazeTint to use when Haze uses the fallback scrim functionality.
The input scale factor, which needs to be in the range 0 < x <= 1. Defaults to 1.0
, resulting in no scaling.
Optional alpha mask which allows effects such as fading via a Brush.verticalGradient or similar. This is only applied when progressive is null.
Amount of noise applied to the content, in the range 0f
to 1f
. Anything outside of that range will be clamped.
Parameters for enabling a progressive (or gradient) blur effect, or null for a uniform blurring effect. Defaults to null.
Style set on this specific HazeChildNode.