« UI\Draw\Text\Layout::__construct
UI\Draw\Text\Layout::setWidth »

UI\Draw\Text\Layout::setColor

(UI 0.9.9)

UI\Draw\Text\Layout::setColor — Set Color

説明

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 = ?)

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

関連キーワード:
Draw   Layout   Text   Color   setColor   color   start   character   construct   setWidth   range   text   starting   ending   default
関連する関数・ページ:
class.ui-draw-text-layout   ui-draw-text-layout.construct   ui-draw-text-layout.setwidth   ui-draw-color.construct   ui-draw-brush.setcolor   class.ui-draw-brush