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

UI\Draw\Color::__construct

PHP function Edit on GitHub ✎

(UI 0.9.9)

Construct new Color

Description

UI\Draw\Color::__construct([UI\Draw\Color $color])
UI\Draw\Color::__construct([int $color])

Shall construct a new color

Parameters

color

May be UI\Draw\Color or RRGGBBAA

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