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
 
<GmagickDraw::settextencodingGmagickPixel::__construct>
^GmagickLast updated: Mon, 26 Oct 2026

The GmagickPixel class

(PECL gmagick >= Unknown)

Introduction

Class synopsis

class GmagickPixel {
/* Methods */
public function __construct(string $color = ?)
public function getcolor(bool $as_array = false, bool $normalize_array = false): mixed
public function getcolorcount(): int
public function getcolorvalue(int $color): float
public function setcolor(string $color): GmagickPixel
public function setcolorvalue(int $color, float $value): GmagickPixel
}

Table of Contents


<GmagickDraw::settextencodingGmagickPixel::__construct>
^GmagickLast updated: Mon, 26 Oct 2026