Grx.draw_text
@accepts(unicode, int, int, Grx.TextOptions)
@returns(none)
def draw_text(text, x, y, options):
# Python wrapper for grx_draw_text()
Draws the text at the specified coordinates using options.
The position of the text relative to the coordinates will depend on the alignment given in options.
- text
The text to draw
- x
The x coordinate
- y
The y coordinate
- options
Grx.TextOptions to control how the text is drawn