The ImagickPixel class

(PECL imagick 2, PECL imagick 3)

类摘要

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

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top