Can we scale text inside draw scope in compose?

30 views Asked by At

I am creating a custom painter and want to write some text inside. I want to scale the text according to the size of the canvas.

For example, if the canvas height is x, I want my text height to be x/2.

Is it possible in jetpack compose?

0

There are 0 answers