Hey guys :smile: I’ve been testin Compose and I ha...
# compose
k
Hey guys 😄 I’ve been testin Compose and I have a question, how do you draw a shadow into an Image??
there’s a drawShadow inlined function but I wasn’t able to see the shadow being drawn
r
You can use the drawShadow modifier
Make sure there's room around your image it might just be clipped
You can try by adding padding
k
yes, I add that drawShadow but still no shadow is being dropped; how can I ensure that the image has room around?
r
And and remove your clip modifier
The dtawShadow modifier will clip
Just give it a shape
k
it seems that there’s a shadow but is almost unnoticed
Thanks! that solves it
OMG I just realized that I follow you on twitter ugh chills HAHAHAHA
😐 1