Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
HueInterpolation
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Css\Value;
6
7/**
8 * CSS Color 5 §3.2 — hue interpolation method for polar color
9 * spaces (hsl, hwb, lch, oklch). When mixing two colors across
10 * a hue gap, four strategies select which way around the colour
11 * wheel to travel.
12 *
13 *   Shorter     — go the shorter way (default).
14 *   Longer      — go the longer way.
15 *   Increasing  — always increase the hue value (passes through
16 *                 0/360 if necessary).
17 *   Decreasing  — always decrease.
18 */
19enum HueInterpolation: string
20{
21    case Shorter = 'shorter';
22    case Longer = 'longer';
23    case Increasing = 'increasing';
24    case Decreasing = 'decreasing';
25}