Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
RaySize
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 * `<ray-size>` per CSS Motion Path 1 §2.2 — how long the ray is.
9 *
10 * All of these except {@see self::Sides} ignore the ray's angle: they
11 * measure from the ray's origin to a side or corner of the containing
12 * block. `sides` is the only one that follows the angle, stopping where
13 * the ray crosses the containing block's boundary.
14 */
15enum RaySize: string
16{
17    case ClosestSide = 'closest-side';
18    case ClosestCorner = 'closest-corner';
19    case FarthestSide = 'farthest-side';
20    case FarthestCorner = 'farthest-corner';
21    case Sides = 'sides';
22}