KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
Home
>
PHP
>
Function
>
>
ImagickDraw::matte()
ImagickDraw::matte()
ImagickDraw::matte - Paints on the image's opacity channel
Syntax
bool
ImagickDraw::matte
(
float
$x,
float
$y,
int
$paintMethod)
Arguments
x - x coordinate of the matte
y - y coordinate of the matte
paintMethod - PAINT_ constant
Description
Paints on the image's opacity channel in order to set effected pixels to transparent, to influence the opacity of pixels.
Version
PHP PECL imagick 2.0.0
Return value
Returns TRUE on success or FALSE on failure.