For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Last updated

Was this helpful?