textBox

Draws multi-line text string at specified location wrapped at the specified width. White space is stripped at the beginning of the rows, the text is split at word boundaries or when new-line characters are encountered. Words longer than the max width are slit at nearest character (i.e. no hyphenation).

nothrow @trusted @nogc
void
textBox
(
T
)
(,
float x
,
float y
,,
const(T)[] str
)
if (
isAnyCharType!T
)

See Also

Meta