tint

fun tint(color: Color, blendMode: BlendMode = BlendMode.SrcOver): HazeColorEffect

Creates a color-based tint effect.


fun tint(brush: Brush, blendMode: BlendMode = BlendMode.SrcOver): HazeColorEffect

Creates a brush-based tint effect.

A SolidColor brush with a specified color creates the same effect as tint(color = brush.value, blendMode = blendMode).