TextRenderer.wrapText() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
boundary
No
location?
Yes
scale?
Yes
mark_separator?
Yes
mark_cut?
Yes

Returns

Not applicable.

Description

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.

⚠️ **GitHub.com Fallback** ⚠️