CakeFest 2024: The Official CakePHP Conference

Represents Text Layout

(UI 0.9.9)

Introducción

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

Sinopsis de la Clase

class UI\Draw\Text\Layout {
/* Constructor */
public __construct(string $text, UI\Draw\Text\Font $font, float $width)
/* Métodos */
public setColor(UI\Draw\Color $color, int $start = 0, int $end = ?)
public setColor(int $color, int $start = 0, int $end = ?)
public setWidth(float $width)
}

Tabla de contenidos

add a note

User Contributed Notes

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