Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class FontStyle extends StyleContainer |
||
11 | { |
||
12 | public const STYLE_ITALIC = 'italic'; |
||
13 | public const STYLE_OBLIQUE = 'oblique'; |
||
14 | public const OBLIQUE_DEFAULT_DEGREES = 14; |
||
15 | |||
16 | protected function getName() : string |
||
19 | } |
||
20 | |||
21 | public function italic(bool $important=false) : StyleBuilder |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * font-style:oblique |
||
28 | * |
||
29 | * @param int|NULL $degrees -90 to 90, default 14 |
||
30 | * @param bool $important |
||
31 | * @return StyleBuilder |
||
32 | * @link https://developer.mozilla.org/fr/docs/Web/CSS/font-style |
||
33 | */ |
||
34 | public function oblique(int $degrees=self::OBLIQUE_DEFAULT_DEGREES, bool $important=false) : StyleBuilder |
||
49 |