lcd.drawTextLines(x, y, w, h, text [, flags])

Draw text inside rectangle (x,y,w,h) with line breaks

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

  • x,y (integers) point where text drawing ended

Notes

Available on

API status

EdgeTX version
Action

2.5.0

Introduced

2.11.0

x,y return added

Examples

Last updated

Was this helpful?