ly.img.android.pesdk.backend.text_design.layout / TextDesign / validTextLines

validTextLines

protected open fun validTextLines(text: String): <ERROR CLASS><Words>

Tries to generate a valid text line arrangement up to MAXIMUM_NUMBER_OF_TRIES times. Valid means that each line must have at least 3 characters.

Parameters

text - The text that this TextDesign is laying out.

Return
The text split into Lines, ideally with each line having more than 3 characters.