hi, can I draw outside box bounds? something smiliar to xml’s
using size instead of prefred size seams to work
02/08/2021, 1:37 PM
There is a similar modifier clipToBounds() or clip(shape). Some composables do use it. So it depends. Box do not clipToBounds so it is possible to draw outside of the bounds.
02/08/2021, 8:37 PM
Compose doesn't clip children by default IIRC
02/08/2021, 9:55 PM
Yes compose does not clip any content by default so there is no need to explicitly disable clipping like the framework operates today. You should be able to draw outside the bounds and content should be rendered as expected