touchgfx::LCD::getNumLines() method
@fn static uint16_t LCD::getNumLines(TextProvider& textProvider, WideTextAction wideTextAction, TextDirection textDirection, const Font* font, int16_t width); Gets number lines. Gets number of lines for a given text taking word wrap into consideration. The font and width are required to find the number of lines in case word wrap is true.
Arguments
textProvider
wideTextAction
The wide text action in case lines are longer than the width of the text area.
textDirection
The text direction (LTR or RTL).
font
The font.
width
The width.
Return value
The number lines.
Type of touchgfx::LCD::getNumLines()
touchgfx::LCD::getNumLines()
uint16_t all items filtered out