HazeTint
fun HazeTint(color: Color, blendMode: BlendMode = HazeColorEffect.DefaultBlendMode): HazeColorEffect
Deprecated
Use HazeColorEffect.tint(color, blendMode) instead
Replace with
import dev.chrisbanes.haze.blur.HazeColorEffect
Content copied to clipboard
HazeColorEffect.tint(color, blendMode)Content copied to clipboard
Creates a color-based tint effect.
Parameters
color
The color to tint with.
blendMode
The blend mode to use. Defaults to HazeColorEffect.DefaultBlendMode.
fun HazeTint(brush: Brush, blendMode: BlendMode = HazeColorEffect.DefaultBlendMode): HazeColorEffect
Deprecated
Use HazeColorEffect.tint(brush, blendMode) instead
Replace with
import dev.chrisbanes.haze.blur.HazeColorEffect
Content copied to clipboard
HazeColorEffect.tint(brush, blendMode)Content copied to clipboard
Creates a brush-based tint effect.
Parameters
brush
The brush to tint with.
blendMode
The blend mode to use. Defaults to HazeColorEffect.DefaultBlendMode.