text(font, text, blend_color, top_left_x, top_left_y, letter_spacing, line_spacing, opacity)
Directly draws a text to the screen without camera transformation. All parameters are required and keywords are not allowed. This keeps this function as fast as possible.
Parameters:
font
[value: FontResource | `None`, type: FontResource | `None`]
text
[value: any, type: string]
blend_color
[value: positive unsigned RGB565 16-bit int | Color | `None`, type: uint16 | Color | `None`]
top_left_x
[value: any, type: float]
top_left_y
[value: any, type: float]
letter_spacing
[value: any, type: float]
line_spacing
[value: any, type: float]
opacity
[value: 0.0 ~ 1.0, type: float]
Return Value: None
file: src/draw/engine_draw_module.c