UI\Draw\Text\Layout::__construct

(PHP 7, UI 0.9.9)

UI\Draw\Text\Layout::__constructConstruct a new Text Layout

说锟斤拷

public UI\Draw\Text\Layout::__construct ( string $text , UI\Draw\Text\Font $font , float $width )

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