Zsolt
03/19/2020, 11:20 PMtint
parameter, which is gone now.
I see colorFilter
which needs a BlendMode
beyond just passing the color. Looking at the possible values, hue
is the one I guess I should use (commented "The effect is to tint the destination image with the source image.").
To my disappointment this is how it looks:
hue(null), // Not Supported
Is there any other suitable replacement to achieve tinting the image?Leland Richardson [G]
03/19/2020, 11:47 PMColorFilter.tint
We needed to make this API a bit more generic to consume a wider range of values for applying ColorFilter parameters so what was previouslyLeland Richardson [G]
03/19/2020, 11:48 PMImage(image, tint = Color.Red)
is now
Image(image, colorFilter = ColorFilter.tint(Color.Red))
Zsolt
03/20/2020, 2:06 AMLeland Richardson [G]
03/20/2020, 2:53 AMColorFilter(color, BlendMode.srcIn)
though