https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
g

Garret Yoder

03/11/2024, 7:36 PM
when using an offset, is it possible to clip the drawing distance of the offset? Eg; I want to animate an offset for something but I don't want it to be drawn outside of it's parent container I want it to just clip. Edit: I just figured it out if anyone comes across this in a search. Just use a rectangle clip before your offset.