UI\Draw\Brush::setColor
PHP function
Edit on GitHub ✎
(UI 0.9.9)
Set Color
Description
UI\Draw\Brush::setColor(UI\Draw\Color $color): void
UI\Draw\Brush::setColor(int $color): void
Shall set the color of this brush to the color provided
Parameters
colorCan be a UI\Draw\Color or RRGGBBAA