| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nimes/libraries/CBLib/Imagine/Image/ |
Upload File : |
<?php
/*
* This file is part of the Imagine package.
*
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Imagine\Image;
/**
* The layers interface.
*/
interface LayersInterface extends \Iterator, \Countable, \ArrayAccess
{
/**
* Merge layers into the original objects.
*
* @throws \Imagine\Exception\RuntimeException
*/
public function merge();
/**
* Animates layers.
*
* @param string $format The output output format
* @param int $delay The delay in milliseconds between two frames
* @param int $loops The number of loops, 0 means infinite
*
* @throws \Imagine\Exception\InvalidArgumentException In case an invalid argument is provided
* @throws \Imagine\Exception\RuntimeException In case the driver fails to animate
*
* @return $this
*/
public function animate($format, $delay, $loops);
/**
* Coalesce layers. Each layer in the sequence is the same size as the first and composited with the next layer in
* the sequence.
*
* @throws \Imagine\Exception\NotSupportedException
*
* @return $this
*/
public function coalesce();
/**
* Adds an image at the end of the layers stack.
*
* @param \Imagine\Image\ImageInterface $image
*
* @throws \Imagine\Exception\RuntimeException
*
* @return $this
*/
public function add(ImageInterface $image);
/**
* Set an image at offset.
*
* @param int $offset
* @param \Imagine\Image\ImageInterface $image
*
* @throws \Imagine\Exception\RuntimeException
* @throws \Imagine\Exception\InvalidArgumentException
* @throws \Imagine\Exception\OutOfBoundsException
*
* @return $this
*/
public function set($offset, ImageInterface $image);
/**
* Removes the image at offset.
*
* @param int $offset
*
* @throws \Imagine\Exception\RuntimeException
* @throws \Imagine\Exception\InvalidArgumentException
*
* @return $this
*/
public function remove($offset);
/**
* Returns the image at offset.
*
* @param int $offset
*
* @throws \Imagine\Exception\RuntimeException
* @throws \Imagine\Exception\InvalidArgumentException
*
* @return \Imagine\Image\ImageInterface
*/
public function get($offset);
/**
* Returns true if a layer at offset is preset.
*
* @param int $offset
*
* @return bool
*/
public function has($offset);
}