ImagickDraw::composite()
ImagickDraw::composite - Composites an image onto the current image
Syntax
bool ImagickDraw::composite (
int $compose,
float $x,
float $y,
float $width,
float $height,
Imagick $compositeWand)
Arguments
- 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
Description
Composites an image onto the current image, using the specified composition operator, specified position, and at the specified size.
Version
PHP PECL imagick 2.0.0
Return value
Returns TRUE on success.