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 | /** |
| 3 | * Pop PHP Framework (https://www.popphp.org/) |
| 4 | * |
| 5 | * @link https://github.com/popphp/popphp-framework |
| 6 | * @author Nick Sagona, III <dev@noladev.com> |
| 7 | * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. |
| 8 | * @license https://www.popphp.org/license New BSD License |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * @namespace |
| 13 | */ |
| 14 | namespace Pop\Image\Layer; |
| 15 | |
| 16 | /** |
| 17 | * Layer interface |
| 18 | * |
| 19 | * @category Pop |
| 20 | * @package Pop\Image |
| 21 | * @author Nick Sagona, III <dev@noladev.com> |
| 22 | * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. |
| 23 | * @license https://www.popphp.org/license New BSD License |
| 24 | * @version 4.1.1 |
| 25 | */ |
| 26 | interface LayerInterface |
| 27 | { |
| 28 | |
| 29 | /** |
| 30 | * Get the opacity |
| 31 | * |
| 32 | * @return mixed |
| 33 | */ |
| 34 | public function getOpacity(): mixed; |
| 35 | |
| 36 | /** |
| 37 | * Set the image opacity. |
| 38 | * |
| 39 | * @param int|float $opacity |
| 40 | * @return AbstractLayer |
| 41 | */ |
| 42 | public function setOpacity(int|float $opacity): AbstractLayer; |
| 43 | |
| 44 | } |