首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

ImagickPixel (class)

Class synopsis

(PECL imagick 2.0.0)

ImagickPixel {

代码语言:javascript
复制
bool clear ( void )
代码语言:javascript
复制
__construct ([ string $color ] )
代码语言:javascript
复制
bool destroy ( void )
代码语言:javascript
复制
array getColor ([ bool $normalized = false ] )
代码语言:javascript
复制
string getColorAsString ( void )
代码语言:javascript
复制
int getColorCount ( void )
代码语言:javascript
复制
public mixed getColorQuantum ( void )
代码语言:javascript
复制
float getColorValue ( int $color )
代码语言:javascript
复制
public mixed getColorValueQuantum ( void )
代码语言:javascript
复制
array getHSL ( void )
代码语言:javascript
复制
public int getIndex ( void )
代码语言:javascript
复制
bool isPixelSimilar ( ImagickPixel $color , float $fuzz )
代码语言:javascript
复制
public bool isPixelSimilarQuantum ( string $color [, string $fuzz ] )
代码语言:javascript
复制
bool isSimilar ( ImagickPixel $color , float $fuzz )
代码语言:javascript
复制
bool setColor ( string $color )
代码语言:javascript
复制
public void setcolorcount ( string $colorCount )
代码语言:javascript
复制
bool setColorValue ( int $color , float $value )
代码语言:javascript
复制
public void setColorValueQuantum ( int $color , mixed $value )
代码语言:javascript
复制
bool setHSL ( float $hue , float $saturation , float $luminosity )
代码语言:javascript
复制
public void setIndex ( int $index )

}

Table of Contents

  • ImagickPixel::clear — Clears resources associated with this object
  • ImagickPixel::__construct — The ImagickPixel constructor
  • ImagickPixel::destroy — Deallocates resources associated with this object
  • ImagickPixel::getColor — Returns the color
  • ImagickPixel::getColorAsString — Returns the color as a string
  • ImagickPixel::getColorCount — Returns the color count associated with this color
  • ImagickPixel::getColorQuantum — Description
  • ImagickPixel::getColorValue — Gets the normalized value of the provided color channel
  • ImagickPixel::getColorValueQuantum — Description
  • ImagickPixel::getHSL — Returns the normalized HSL color of the ImagickPixel object
  • ImagickPixel::getIndex — Description
  • ImagickPixel::isPixelSimilar — Check the distance between this color and another
  • ImagickPixel::isPixelSimilarQuantum — Description
  • ImagickPixel::isSimilar — Check the distance between this color and another
  • ImagickPixel::setColor — Sets the color
  • ImagickPixel::setColorCount — Description
  • ImagickPixel::setColorValue — Sets the normalized value of one of the channels
  • ImagickPixel::setColorValueQuantum — Description
  • ImagickPixel::setHSL — Sets the normalized HSL color
  • ImagickPixel::setIndex — Description

← ImagickDraw::translate

ImagickPixel::clear →

代码语言:txt
复制
 ? 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com