array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagickpixel.getindex.php', 1 => 'ImagickPixel::getIndex', 2 => 'Gets the colormap index of the pixel wand', ), 'up' => array ( 0 => 'class.imagickpixel.php', 1 => 'ImagickPixel', ), 'prev' => array ( 0 => 'imagickpixel.gethsl.php', 1 => 'ImagickPixel::getHSL', ), 'next' => array ( 0 => 'imagickpixel.ispixelsimilar.php', 1 => 'ImagickPixel::isPixelSimilar', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagickpixel/getindex.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ImagickPixel::getIndex

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

ImagickPixel::getIndexGets the colormap index of the pixel wand

说明

public ImagickPixel::getIndex(): int

Gets the colormap index of the pixel wand.

参数

此函数没有参数。

返回值