| Total Complexity | 10 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Utilities |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param array|string $value |
||
| 14 | * @param Color $default |
||
| 15 | * @return Color |
||
| 16 | */ |
||
| 17 | public static function interpretColor($value, Color $default): Color |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $name |
||
| 32 | * @param string|array $data |
||
| 33 | * @param PathResolver $pathResolver |
||
| 34 | * @return Font |
||
| 35 | */ |
||
| 36 | public static function interpretFont(string $name, $data, PathResolver $pathResolver): Font |
||
| 61 | } |
||
| 62 | |||
| 63 | public static function interpretOrientation(string $orientation) |
||
| 68 |