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? 🧵Image
that has say 32.dp at the bottom that fades like a linear gradient to 0 alphaModifier.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.czuckie
11/15/2023, 2:32 PMZach Klippenstein (he/him) [MOD]
11/15/2023, 5:31 PM