LUA Reference Guide
Search…
EdgeTX v2.7
lcd.drawTextLines(x, y, w, h, text [, flags])
Draw text inside rectangle (x,y,w,h) with line breaks
@status current Introduced in 2.5.0

Parameters

  • x,y (positive numbers) starting coordinate
  • w,h (positive numbers) width and height of bounding rectangle
  • text (string) text to display
  • flags (optional) please see Lcd functions overview for drawing flags and colors, and Appendix for available characters in each font set. RIGHT, CENTER and VCENTER are not implemented.

Return value

none

Notes

  • Color radios only.
Export as PDF
Copy link