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\ColorUI\Draw\Color::getChannel>
^UI\Draw\ColorLast updated: Mon, 26 Oct 2026

UI\Draw\Color::__construct

(UI 0.9.9)

UI\Draw\Color::__construct — Construct new Color

Description

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

Shall construct a new color

Parameters

color

May be UI\Draw\Color or RRGGBBAA


<UI\Draw\ColorUI\Draw\Color::getChannel>
^UI\Draw\ColorLast updated: Mon, 26 Oct 2026