drawText

external fun drawText(text: String, xPos: Float, yPos: Float, style: TextState)

Draws a text.

Parameters

text

Text that will be rendered.

xPos

x position of the shape.

yPos

y position of the shape.

style

Style.