PHP Manual
Function Reference
GUI Extensions
UI
UI\Controls\ColorButton
UI\Controls\ColorButton::getColor
UI\Controls\ColorButton::onChange
UI\Controls\ColorButton::setColor
UI\Controls\ColorButton::onChange
UI\Controls\Label
UI\Controls\ColorButton
PHP Manual
UI\Controls\ColorButton::setColor
Set Color
Description
public
UI\Controls\ColorButton::setColor
(
UI\Draw\Color
$color
)
public
UI\Controls\ColorButton::setColor
(
integer
$color
)
Shall set the currently selected Color
Parameters
color
The new color