UI\Draw\Text\Layout::__construct

Construct 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