drawText function
Draw text (using default font)
Implementation
void drawText(String text, int posX, int posY, int fontSize, Color color) {
return library.DrawText(
string.toNative(text),
posX,
posY,
fontSize,
color.ref,
);
}