« UI\Draw\Brush::getColor
UI\Draw\Brush\Gradient »

UI\Draw\Brush::setColor

(UI 0.9.9)

UI\Draw\Brush::setColor — Set Color

説明

public function UI\Draw\Brush::setColor(UI\Draw\Color $color): void
public function UI\Draw\Brush::setColor(int $color): void

Shall set the color of this brush to the color provided

パラメータ

color

Can be a UI\Draw\Color or RRGGBBAA

戻り値

関連キーワード:
Draw   Brush   Color   color   setColor   getColor   Gradient   brush   provided
関連する関数・ページ:
class.ui-draw-brush   ui-draw-brush.getcolor   ui-draw-brush.construct   class.ui-draw-brush-gradient   ui-draw-brush-gradient.setstop   ui-draw-color.construct