Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 379 Bytes

File metadata and controls

15 lines (8 loc) · 379 Bytes

lcd.sizeText(text [, flags])

Get the width and height of a text string drawn with flags

@status current Introduced in 2.5.0

Parameters

  • text (string)
  • flags (optional) please see flags and color constants

Return value

  • w,h (integers) width and height of the text