array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'ui-draw-text-layout.construct.php', 1 => 'UI\\Draw\\Text\\Layout::__construct', ), 'up' => array ( 0 => 'class.ui-draw-text-layout.php', 1 => 'UI\\Draw\\Text\\Layout', ), 'prev' => array ( 0 => 'class.ui-draw-text-layout.php', 1 => 'UI\\Draw\\Text\\Layout', ), 'next' => array ( 0 => 'ui-draw-text-layout.setcolor.php', 1 => 'UI\\Draw\\Text\\Layout::setColor', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ui/ui/draw/text/layout/construct.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(UI 0.9.9)
UI\Draw\Text\Layout::__construct — Construct a new Text Layout
Shall construct a new Text Layout
text
The text for the layout
font
The font to use for writing
width
The width of the layout