php8.5
Home/ Manual/ gmagick / gmagickpixel/ GmagickPixel::__construct

GmagickPixel::__construct

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

The GmagickPixel constructor

Description

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.

Source: reference/gmagick/gmagickpixel/construct.xml · from the official PHP manual (php/doc-en)