UI
PHP Manual

Represents Text Layout

(PHP 7, UI 0.9.9)

Introduction

A Text Layout represents the layout of text which will be drawn by the Pen

Class synopsis

UI\Draw\Text\Layout {
/* Constructor */
public __construct ( string $text , UI\Draw\Text\Font $font , float $width )
/* Methods */
public setColor ( UI\Draw\Color $color [, integer $start = 0 [, integer $end ]] )
public setColor ( integer $color [, integer $start = 0 [, integer $end ]] )
public setWidth ( float $width )
}

Table of Contents


UI
PHP Manual