php8.5
Home/ Manual/ draw / color/ UI\Draw\Color::getChannel

UI\Draw\Color::getChannel

PHP function Edit on GitHub ✎

(UI 0.9.9)

Color Manipulation

Description

UI\Draw\Color::getChannel(int $channel): float

Shall retrieve the value for a channel

Parameters

channel

Constant channel identity

Return Values

The current value of the requested channel

Source: reference/ui/ui/draw/color/getchannel.xml · from the official PHP manual (php/doc-en)