\Pop\Image\LayerImagick

Layer class for Imagick

Summary

Methods
Properties
Constants
getOpacity()
setOpacity()
__construct()
getImage()
setImage()
getOverlay()
setOverlay()
overlay()
flatten()
No public properties found
No constants found
No protected methods found
$opacity
$image
$overlay
N/A
No private methods found
No private properties found
N/A

Properties

$opacity

$opacity : float

Opacity

Type

float

$image

$image : mixed

Image object

Type

mixed

$overlay

$overlay : integer

Overlay style

Type

integer

Methods

getOpacity()

getOpacity() : mixed

Get the opacity

Returns

mixed

setOpacity()

setOpacity(float  $opacity) : \Pop\Image\Layer\Imagick

Set the opacity

Parameters

float $opacity

Returns

\Pop\Image\Layer\Imagick

__construct()

__construct(\Pop\Image\Adapter\AbstractAdapter  $image = null) 

Constructor

Instantiate an image edit object

Parameters

\Pop\Image\Adapter\AbstractAdapter $image

getOverlay()

getOverlay() : integer

Get the overlay

Returns

integer

setOverlay()

setOverlay(integer  $overlay) : \Pop\Image\Layer\Imagick

Get the overlay

Parameters

integer $overlay

Returns

\Pop\Image\Layer\Imagick

overlay()

overlay(string  $image, integer  $x, integer  $y) : \Pop\Image\Layer\Imagick

Overlay an image onto the current image.

Parameters

string $image
integer $x
integer $y

Returns

\Pop\Image\Layer\Imagick

flatten()

flatten(integer  $method = \Imagick::LAYERMETHOD_FLATTEN) : \Pop\Image\Layer\Imagick

Flatten the image layers

Parameters

integer $method

Returns

\Pop\Image\Layer\Imagick