The ImagickDraw class
PHP Manual

ImagickDraw::matte

(PECL imagick 2.0.0)

ImagickDraw::mattePaints on the image's opacity channel

Описание

bool ImagickDraw::matte ( float $x , float $y , int $paintMethod )
Предупреждение

Към момента тази функция не е документирана; наличен е единствено списъкът с аргументите й.

Paints on the image's opacity channel in order to set effected pixels to transparent. to influence the opacity of pixels.

Параметри

x

x coordinate of the matte

y

y coordinate of the matte

paintMethod

PAINT_ constant

Връщани стойности

Връща TRUE при успех или FALSE при неуспех.


The ImagickDraw class
PHP Manual