UI\Draw\Text\Layout::setColor
(UI 0.9.9)
UI\Draw\Text\Layout::setColor — Set Color
Description
public function UI\Draw\Text\Layout::setColor(
UI\Draw\Color $color,
int $start = 0,
int $end = ?)
public function UI\Draw\Text\Layout::setColor(
int $color,
int $start = 0,
int $end = ?)
Parameters
color
-
The color to use
start
-
The starting character
end
-
The ending character, by default the end of the string