TextRenderer.wrapText() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
boundary |
{Vector2} |
No |
location? |
{Vector2} |
Yes |
scale? |
Yes |
|
mark_separator? |
{string} |
Yes |
mark_cut? |
{string} |
Yes |
Not applicable.
Attempt to fit the text into the specified boundary by adding line breaks between words, split by the specified separator, if they would exceed the boundary horizontally if rendered using current or specified temporarily replaced location and scale. The text will be cut if it would then exceed vertical boundary.