PHP 8.1.0 RC 2 available for testing

UI\Draw\Text\Layout::__construct

(UI 0.9.9)

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

Description

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

Shall construct a new Text Layout

Parameters

text

The text for the layout

font

The font to use for writing

width

The width of the layout

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top