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 <nick@popphp.org> |
| 8 | * @copyright Copyright (c) 2009-2026 Nick Sagona, III |
| 9 | * @license https://www.popphp.org/license New BSD License |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * @namespace |
| 14 | */ |
| 15 | namespace Pop\Pdf\Document\Page\Annotation; |
| 16 | |
| 17 | /** |
| 18 | * Pdf page annotation interface |
| 19 | * |
| 20 | * @category Pop |
| 21 | * @package Pop\Pdf |
| 22 | * @author Nick Sagona, III <nick@popphp.org> |
| 23 | * @copyright Copyright (c) 2009-2026 Nick Sagona, III |
| 24 | * @license https://www.popphp.org/license New BSD License |
| 25 | * @version 6.0.0 |
| 26 | */ |
| 27 | interface AnnotationInterface |
| 28 | { |
| 29 | |
| 30 | /** |
| 31 | * Set the width |
| 32 | * |
| 33 | * @param int|float $width |
| 34 | * @return AnnotationInterface |
| 35 | */ |
| 36 | public function setWidth(int|float $width): AnnotationInterface; |
| 37 | |
| 38 | /** |
| 39 | * Set the height |
| 40 | * |
| 41 | * @param int|float $height |
| 42 | * @return AnnotationInterface |
| 43 | */ |
| 44 | public function setHeight(int|float $height): AnnotationInterface; |
| 45 | |
| 46 | /** |
| 47 | * Set the horizontal border radius |
| 48 | * |
| 49 | * @param int|float $radius |
| 50 | * @return AnnotationInterface |
| 51 | */ |
| 52 | public function setHRadius(int|float $radius): AnnotationInterface; |
| 53 | |
| 54 | /** |
| 55 | * Set the vertical border radius |
| 56 | * |
| 57 | * @param int|float $radius |
| 58 | * @return AnnotationInterface |
| 59 | */ |
| 60 | public function setVRadius(int|float $radius): AnnotationInterface; |
| 61 | |
| 62 | /** |
| 63 | * Set the border width |
| 64 | * |
| 65 | * @param int|float $width |
| 66 | * @return AnnotationInterface |
| 67 | */ |
| 68 | public function setBorderWidth(int|float $width): AnnotationInterface; |
| 69 | |
| 70 | /** |
| 71 | * Set the border dash length |
| 72 | * |
| 73 | * @param int|float $length |
| 74 | * @return AnnotationInterface |
| 75 | */ |
| 76 | public function setDashLength(int|float $length): AnnotationInterface; |
| 77 | |
| 78 | /** |
| 79 | * Set the border dash gap |
| 80 | * |
| 81 | * @param int|float $gap |
| 82 | * @return AnnotationInterface |
| 83 | */ |
| 84 | public function setDashGap(int|float $gap): AnnotationInterface; |
| 85 | |
| 86 | /** |
| 87 | * Get the width |
| 88 | * |
| 89 | * @return int|float |
| 90 | */ |
| 91 | public function getWidth(): int|float; |
| 92 | |
| 93 | /** |
| 94 | * Get the height |
| 95 | * |
| 96 | * @return int|float |
| 97 | */ |
| 98 | public function getHeight(): int|float; |
| 99 | |
| 100 | /** |
| 101 | * Get the horizontal border radius |
| 102 | * |
| 103 | * @return int|float |
| 104 | */ |
| 105 | public function getHRadius(): int|float; |
| 106 | |
| 107 | /** |
| 108 | * Get the vertical border radius |
| 109 | * |
| 110 | * @return int|float |
| 111 | */ |
| 112 | public function getVRadius(): int|float; |
| 113 | |
| 114 | /** |
| 115 | * Get the border width |
| 116 | * |
| 117 | * @return int|float |
| 118 | */ |
| 119 | public function getBorderWidth(): int|float; |
| 120 | |
| 121 | /** |
| 122 | * Get the border dash length |
| 123 | * |
| 124 | * @return int|float |
| 125 | */ |
| 126 | public function getDashLength(): int|float; |
| 127 | |
| 128 | /** |
| 129 | * Get the border dash gap |
| 130 | * |
| 131 | * @return int|float |
| 132 | */ |
| 133 | public function getDashGap(): int|float; |
| 134 | |
| 135 | } |