Is there a way to draw rotated text? The Canvas AP...
# compose
m
Is there a way to draw rotated text? The Canvas API has no drawText
k
drawCanvas { canvas, _ ->
canvas.nativeCanvas.drawText() }
I think it's possible with out canvas and with
Modifier.drawLayout
m
Ok... Thanks!
👍 1
l
Cc @Nader Jawad for maybe adding a drawText API to canvas
s
we probably need to combine canvas/paragraph to have such a functionality.
n
Yes we're aligning the text APIs with the rest of the declarative graphics framework. But right now the suggestion that @Kazemihabib1996 has done seems sufficient in the interim
p
A year have passed and I didnt found any other way to drawText in canvas. There was not any feature request to track eighter, so I created one: https://issuetracker.google.com/issues/190787898