Greedy wrapping algorithm that will wrap words as the line grows longer than its horizontal bounds.
name | type | description |
---|---|---|
text | string |
The text to perform word wrap detection against. |
The text after wrapping has been applied.