PHP - Manual: UI\Draw\Text\Layout::setColor
2024-11-26
(UI 0.9.9)
UI\Draw\Text\Layout::setColor — Set Color
$color
, int $start
= 0, int $end
= ?)Shall set the Color for all of, or a range of the text in the Layout
color
The color to use
start
The starting character
end
The ending character, by default the end of the string
官方地址:https://www.php.net/manual/en/ui-draw-text-layout.setcolor.php