iOSCanvas rotate text

How can I rotate text or align it vertically on an iOSCanvas?

At the moment I’m using,

g.DrawTextLine(“Hello”, 10, 10, -1, iOSTextAlignment.Center, False)

https://documentation.xojo.com/api/deprecated/iosgraphics.html#iosgraphics-rotate

Thanks Michel!