$opacity
$opacity : mixed
Opacity
Layer class for Gmagick
This class has been deprecated as of 2/6/2020 and will no longer be maintained. Please use the Imagick classes instead.
setOpacity(integer|float $opacity) : \Pop\Image\Layer\AbstractLayer
Set the image opacity.
integer|float | $opacity |
__construct(\Pop\Image\Adapter\AbstractAdapter $image = null)
Constructor
Instantiate an image edit object
\Pop\Image\Adapter\AbstractAdapter | $image |
getImage() : \Pop\Image\Adapter\AbstractAdapter
Get the image object
setImage(\Pop\Image\Adapter\AbstractAdapter $image) : \Pop\Image\AbstractEditObject
Set the image object
\Pop\Image\Adapter\AbstractAdapter | $image |
setOverlay(integer $overlay) : \Pop\Image\Layer\Gmagick
Get the overlay
integer | $overlay |
overlay(string $image, integer $x, integer $y) : \Pop\Image\Layer\Gmagick
Overlay an image onto the current image.
string | $image | |
integer | $x | |
integer | $y |
flatten() : \Pop\Image\Layer\Gmagick
Flatten the image layers