Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<UI\Draw\BrushUI\Draw\Brush::getColor>
^UI\Draw\BrushLast updated: Mon, 26 Oct 2026

UI\Draw\Brush::__construct

(UI 0.9.9)

UI\Draw\Brush::__construct — Construct a new Brush

Description

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

Shall construct a solid brush using the given color

Parameters

color

Can be a UI\Draw\Color or RRGGBBAA


<UI\Draw\BrushUI\Draw\Brush::getColor>
^UI\Draw\BrushLast updated: Mon, 26 Oct 2026