ImagickDraw::translate
ImagickPixel::clear
ImageMagick
PHP Manual
The
ImagickPixel
class
Class synopsis
ImagickPixel
ImagickPixel
{
bool
ImagickPixel::clear
(
void
)
ImagickPixel
ImagickPixel::__construct
([
string
$color
] )
bool
ImagickPixel::destroy
(
void
)
array
ImagickPixel::getColor
([
bool
$normalized
] )
string
ImagickPixel::getColorAsString
(
void
)
int
ImagickPixel::getColorCount
(
void
)
float
ImagickPixel::getColorValue
(
int
$color
)
array
ImagickPixel::getHSL
(
void
)
bool
ImagickPixel::isSimilar
(
ImagickPixel
$color
,
float
$fuzz
)
bool
ImagickPixel::setColor
(
string
$color
)
bool
ImagickPixel::setColorValue
(
int
$color
,
float
$value
)
bool
ImagickPixel::setHSL
(
float
$hue
,
float
$saturation
,
float
$luminosity
)
}
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::getColorValue
— Gets the normalized value of the provided color channel
ImagickPixel::getHSL
— Returns the normalized HSL color of the ImagickPixel object
ImagickPixel::isSimilar
— Check the distance between this color and another
ImagickPixel::setColor
— Sets the color
ImagickPixel::setColorValue
— Sets the normalized value of one of the channels
ImagickPixel::setHSL
— Sets the normalized HSL color
ImagickDraw::translate
ImagickPixel::clear
ImageMagick
PHP Manual