GmagickPixel::getcolorcount

(PECL gmagick >= Unknown)

GmagickPixel::getcolorcountReturns the color count associated with this color

說(shuō)明

public GmagickPixel::getcolorcount(): int

Returns the color count associated with this color.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the color count as an integer on success, throws GmagickPixelException on failure.