UI\Draw\Text\Layout::__construct
PHP function
Edit on GitHub ✎
(UI 0.9.9)
Construct a new Text Layout
Description
UI\Draw\Text\Layout::__construct(string $text, UI\Draw\Text\Font $font, float $width)
Shall construct a new Text Layout
Parameters
textThe text for the layout
fontThe font to use for writing
widthThe width of the layout