Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| FilterKind | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\Css\Value; |
| 6 | |
| 7 | /** |
| 8 | * CSS Filter Effects 1 §5 — the standard filter primitives that |
| 9 | * appear in the `filter:` value-list. SVG `<filter>` URLs land |
| 10 | * under the {@see FilterKind::Url} case. |
| 11 | * |
| 12 | * The string value matches the CSS keyword so `FilterKind::from` |
| 13 | * round-trips with author CSS. |
| 14 | */ |
| 15 | enum FilterKind: string |
| 16 | { |
| 17 | case Blur = 'blur'; |
| 18 | case Brightness = 'brightness'; |
| 19 | case Contrast = 'contrast'; |
| 20 | case DropShadow = 'drop-shadow'; |
| 21 | case Grayscale = 'grayscale'; |
| 22 | case HueRotate = 'hue-rotate'; |
| 23 | case Invert = 'invert'; |
| 24 | case Opacity = 'opacity'; |
| 25 | case Saturate = 'saturate'; |
| 26 | case Sepia = 'sepia'; |
| 27 | case Url = 'url'; |
| 28 | } |