Is there a faded edge effect that I can use? The b...
# compose
k
Is there a faded edge effect that I can use? The best I can do now is to use a gradient paint of the background color, but that doesn't work when the background is more complicated.
(edited to clarify what I meant) Like this, where an edge or edges become progressively transparent

https://i.stack.imgur.com/Afwxg.png

c
Is it this one? If so, you can’t do this for now. https://kotlinlang.slack.com/archives/CJLTWPH7S/p1619285894117000
k
No, I am talking about the effect where the edges become progressively transparent
c
OK, but once again, this effect is not currently available for compose, I think you can do this with Paint + LinearGradient + Xfermode