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