interface LayersInterface implements Iterator, Countable, ArrayAccess
The layers interface
Methods
merge()
Merge layers into the original objects |
||
LayersInterface |
animate(string $format, integer $delay, integer $loops)
Animates layers |
|
coalesce()
Coalesce layers. |
||
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 28
public
merge()
Merge layers into the original objects
at line 42
public LayersInterface
animate(string $format, integer $delay, integer $loops)
Animates layers
at line 48
public
coalesce()
Coalesce layers.
Each layer in the sequence is the same size as the first and composited with the next layer in the sequence.
at line 59
public LayersInterface
add(ImageInterface $image)
Adds an image at the end of the layers stack
at line 73
public LayersInterface
set(integer $offset, ImageInterface $image)
Set an image at offset
at line 85
public LayersInterface
remove(integer $offset)
Removes the image at offset
at line 97
public ImageInterface
get(integer $offset)
Returns the image at offset
at line 106
public Boolean
has(integer $offset)
Returns true if a layer at offset is preset