Grx.draw_text
function draw_text(text: String, x: Number(gint), y: Number(gint), options: Grx.TextOptions): void {
// Gjs 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