はじめに
A Text Layout represents the layout of text which will be drawn by the Pen
クラス概要
UI\Draw\Text\Layout
class UI\Draw\Text\Layout
{
public __construct(string $text
, UI\Draw\Text\Font $font
, float $width
)
public setColor(UI\Draw\Color $color
, int $start
= 0, int $end
= ?)
public setColor(int $color
, int $start
= 0, int $end
= ?)
public setWidth(float $width
)
}