? GmagickDraw::settextencoding
GmagickPixel::__construct ?
����ѧԺ www.cainiaoplay.com
PHP Manual
Gmagick
The GmagickPixel class
The GmagickPixel class
(PECL gmagick >= Unknown)
���
��ժҪ
GmagickPixel
{
/* ���� */
public
__construct
([
string
$color
] )
public
getcolor
([
bool
$as_array
=
FALSE
[,
bool
$normalize_array
=
FALSE
]] ) :
mixed
public
getcolorcount
(
void
) :
int
public
getcolorvalue
(
int
$color
) :
float
public
setcolor
(
string
$color
) :
GmagickPixel
public
setcolorvalue
(
int
$color
,
float
$value
) :
GmagickPixel
}
Table of Contents
GmagickPixel::__construct
— The GmagickPixel constructor
GmagickPixel::getcolor
— Returns the color
GmagickPixel::getcolorcount
— Returns the color count associated with this color
GmagickPixel::getcolorvalue
— Gets the normalized value of the provided color channel
GmagickPixel::setcolor
— Sets the color
GmagickPixel::setcolorvalue
— Sets the normalized value of one of the channels