UI UI\Draw\Text\Layout
(UI 0.9.9)
소개
텍스트 레이아웃은 펜으로 그릴 텍스트의 레이아웃을 나타냅니다.
클래스 개요
class UI\Draw\Text\Layout {
/* Constructor */
public __construct(string $text, UI\Draw\Text\Font $font, float $width)
/* Methods */
public setColor(UI\Draw\Color $color, int $start = 0, int $end = ?)
public setColor(int $color, int $start = 0, int $end = ?)
public setWidth(float $width)
}
목차
- UI\Draw\Text\Layout::__construct — Construct a new Text Layout
- UI\Draw\Text\Layout::setColor — Set Color
- UI\Draw\Text\Layout::setWidth — Set Width