PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

The ImagickPixel class

(PECL imagick 2.0.0)

类摘要

ImagickPixel {
clear ( void ) : bool
__construct ([ string $color ] )
destroy ( void ) : bool
getColor ([ int $normalized = 0 ] ) : array
getColorAsString ( void ) : string
getColorCount ( void ) : int
public getColorQuantum ( void ) : array
getColorValue ( int $color ) : float
public getColorValueQuantum ( int $color ) : number
getHSL ( void ) : array
public getIndex ( void ) : 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 , number $value ) : bool
setHSL ( float $hue , float $saturation , float $luminosity ) : bool
public setIndex ( int $index ) : bool
}

Table of Contents