Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | declare(strict_types=1); |
| 3 | /** |
| 4 | * Pop PHP Framework (https://www.popphp.org/) |
| 5 | * |
| 6 | * @link https://github.com/popphp/popphp-framework |
| 7 | * @author Nick Sagona, III <dev@noladev.com> |
| 8 | * @copyright Copyright (c) 2009-2027 NOLA Interactive, LLC. |
| 9 | * @license https://www.popphp.org/license New BSD License |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * @namespace |
| 14 | */ |
| 15 | namespace Pop\Image\Layer; |
| 16 | |
| 17 | /** |
| 18 | * Layer interface |
| 19 | * |
| 20 | * @category Pop |
| 21 | * @package Pop\Image |
| 22 | * @author Nick Sagona, III <dev@noladev.com> |
| 23 | * @copyright Copyright (c) 2009-2027 NOLA Interactive, LLC. |
| 24 | * @license https://www.popphp.org/license New BSD License |
| 25 | * @version 5.0.0 |
| 26 | */ |
| 27 | interface LayerInterface |
| 28 | { |
| 29 | |
| 30 | /** |
| 31 | * Get the opacity |
| 32 | * |
| 33 | * @return mixed |
| 34 | */ |
| 35 | public function getOpacity(): mixed; |
| 36 | |
| 37 | /** |
| 38 | * Set the image opacity. |
| 39 | * |
| 40 | * @param int|float $opacity |
| 41 | * @return static |
| 42 | */ |
| 43 | public function setOpacity(int|float $opacity): static; |
| 44 | |
| 45 | } |