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
 
<GmagickPixelGmagickPixel::getcolor>
^GmagickPixelLast updated: Mon, 26 Oct 2026

GmagickPixel::__construct

(PECL gmagick >= Unknown)

GmagickPixel::__construct — The GmagickPixel constructor

Description

public function GmagickPixel::__construct(string $color = ?)

Constructs an GmagickPixel object. If a color is specified, the object is constructed and then initialised with that color before being returned.

Parameters

color

The optional color string to use as the initial value of this object.


<GmagickPixelGmagickPixel::getcolor>
^GmagickPixelLast updated: Mon, 26 Oct 2026