LUA Reference Guide
Search…
EdgeTX v2.7
lcd.drawText(x, y, text [, flags [, inversColor]])
Draw a text beginning at (x,y)
@status current Introduced in 2.0.0, SHADOWED introduced in 2.2.1

Parameters

  • x,y (positive numbers) starting coordinate
  • text (string) text to display
  • flags (optional) please see flags and color constants for drawing flags and colors, and Appendix for available characters in each font set.
  • inversColor (optional with the INVERS flag) overrides the inverse text color for INVERS

Return value

none
Export as PDF
Copy link