UI\Draw\Brush::__construct
PHP function
Edit on GitHub ✎
(UI 0.9.9)
Construct a new Brush
Description
UI\Draw\Brush::__construct(UI\Draw\Color $color)
UI\Draw\Brush::__construct(int $color)
Shall construct a solid brush using the given color
Parameters
colorCan be a UI\Draw\Color or RRGGBBAA