abstract class AbstractLayers implements LayersInterface
Methods
LayersInterface |
add(ImageInterface $image)
Adds an image at the end of the layers stack |
|
LayersInterface |
set(integer $offset, ImageInterface $image)
Set an image at offset |
|
LayersInterface |
remove(integer $offset)
Removes the image at offset |
|
ImageInterface |
get(integer $offset)
Returns the image at offset |
|
Boolean |
has(integer $offset)
Returns true if a layer at offset is preset |
Details
at line 22
public LayersInterface
add(ImageInterface $image)
Adds an image at the end of the layers stack
at line 32
public LayersInterface
set(integer $offset, ImageInterface $image)
Set an image at offset
at line 42
public LayersInterface
remove(integer $offset)
Removes the image at offset
at line 52
public ImageInterface
get(integer $offset)
Returns the image at offset
at line 60
public Boolean
has(integer $offset)
Returns true if a layer at offset is preset