Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
24 | class ColorPresets |
||
25 | { |
||
26 | public static function white() : RGBAColor |
||
27 | { |
||
28 | return ColorFactory::createFromPreset(PresetsManager::COLOR_WHITE); |
||
29 | } |
||
30 | |||
31 | public static function black() : RGBAColor |
||
32 | { |
||
33 | return ColorFactory::createFromPreset(PresetsManager::COLOR_BLACK); |
||
34 | } |
||
35 | |||
36 | public static function transparent() : RGBAColor |
||
39 | } |
||
40 | |||
41 | public static function custom(string $presetName) : RGBAColor |
||
44 | } |
||
45 | } |
||
46 |