czuckie
11/15/2023, 1:42 PMdrawWithContent
is it possible to implement some kind of alpha masking such that the contents of say a Box
with the drawWithContent
call will fade to transparency? 🧵czuckie
11/15/2023, 1:42 PMImage
that has say 32.dp at the bottom that fades like a linear gradient to 0 alphaczuckie
11/15/2023, 2:01 PMModifier.paint(...)
with a vertical gradient brush but I can't seem to get it to work 😞Zach Klippenstein (he/him) [MOD]
11/15/2023, 2:13 PMgraphicsLayer {}
modifier. It will only animate the layer’s alpha which is much cheaper than actually redrawing.Zach Klippenstein (he/him) [MOD]
11/15/2023, 2:17 PMczuckie
11/15/2023, 2:32 PMczuckie
11/15/2023, 2:33 PMczuckie
11/15/2023, 2:51 PMZach Klippenstein (he/him) [MOD]
11/15/2023, 5:31 PM