Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
TextSetting | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | n/a |
0 / 0 |
|||
__construct | n/a |
0 / 0 |
n/a |
0 / 0 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Image; |
6 | |
7 | use PeServer\Core\Image\HorizontalAlignment; |
8 | use PeServer\Core\Image\VerticalAlignment; |
9 | |
10 | class TextSetting |
11 | { |
12 | /** |
13 | * 生成。 |
14 | * |
15 | * @param HorizontalAlignment $horizontal |
16 | * @param VerticalAlignment $vertical |
17 | * @param string $fontNameOrPath |
18 | * @param float $angle |
19 | * @codeCoverageIgnore |
20 | */ |
21 | public function __construct( |
22 | public HorizontalAlignment $horizontal, |
23 | public VerticalAlignment $vertical, |
24 | public string $fontNameOrPath, |
25 | public float $angle, |
26 | ) { |
27 | } |
28 | } |