PHP Unconference Europe 2015

ImagickDraw::composite

(PECL imagick 2.0.0)

ImagickDraw::compositeComposites an image onto the current image

Descrição

bool ImagickDraw::composite ( int $compose , float $x , float $y , float $width , float $height , Imagick $compositeWand )
Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Composites an image onto the current image, using the specified composition operator, specified position, and at the specified size.

Parâmetros

compose

composition operator. One of COMPOSITE_ constants

x

x coordinate of the top left corner

y

y coordinate of the top left corner

width

width of the composition image

height

height of the composition image

compositeWand

the Imagick object where composition image is taken from

Valor Retornado

Returns TRUE on success.

add a note add a note

User Contributed Notes 1 note

up
0
christian dot reinecke at web dot de
5 years ago
To see some examples how the COMPOSITE_* constants work, see this page:
http://www.imagemagick.org/Usage/compose/#duff-porter
To Top