\Pop\Image\LayerAbstractLayer

Layer abstract class

Summary

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

Properties

$image

$image : mixed

Image object

Type

mixed

$opacity

$opacity : mixed

Opacity

Type

mixed

Methods

__construct()

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

Constructor

Instantiate an image edit object

Parameters

\Pop\Image\Adapter\AbstractAdapter $image

hasImage()

hasImage() : boolean

Has the image object

Returns

boolean

getOpacity()

getOpacity() : mixed

Get the opacity

Returns

mixed

setOpacity()

setOpacity(integer|float  $opacity) : \Pop\Image\Layer\AbstractLayer

Set the image opacity.

Parameters

integer|float $opacity

Returns

\Pop\Image\Layer\AbstractLayer