How do you rotate an `Image` in compose?
# compose
r
How do you rotate an
Image
in compose?
s
Modifier.drawLayer(..., rotationX, rotationY, rotationZ, ...)
r
@Se7eN What i'm trying to do is to render all the composable into a
ComposeView
and subsequently call
view.drawToBitmap()
on it. The returned bitmap ignores the properties from
modifier.drawLayer(..)
s
Probably because it creates another layer. Can you use a
Canvas
?
r
@Se7eN I ended up using a canvas.
s
okay cool