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

UI\Draw\Color::setChannel

(UI 0.9.9)

UI\Draw\Color::setChannel — Color Manipulation

Description

public function UI\Draw\Color::setChannel(int $channel, float $value): void

Shall set the selected channel to the given value

Parameters

channel

Constant channel identity

value

The new value for the selected channel

Return Values


<UI\Draw\Color::getChannelUI\Draw\Stroke>
^UI\Draw\ColorLast updated: Mon, 26 Oct 2026