PHP 8.1.0 RC 2 available for testing

La clase ImagickPixel

(PECL imagick 2, PECL imagick 3)

Sinopsis de la Clase

class ImagickPixel {
clear(): bool
__construct(string $color = ?)
destroy(): bool
getColor(bool $normalized = false): array
public getColorQuantum(): array
getColorValue(int $color): float
getHSL(): array
public getIndex(): int
isPixelSimilar(ImagickPixel $color, float $fuzz): bool
public isPixelSimilarQuantum(string $color, string $fuzz = ?): bool
isSimilar(ImagickPixel $color, float $fuzz): bool
setColor(string $color): bool
public setcolorcount(int $colorCount): bool
setColorValue(int $color, float $value): bool
public setColorValueQuantum(int $color, mixed $value): void
setHSL(float $hue, float $saturation, float $luminosity): bool
public setIndex(int $index): bool
}

Tabla de contenidos

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top