Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
ShapingDirection
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Text;
6
7/**
8 * Text rendering direction within a single shaped run.
9 *
10 * - `Ltr` — horizontal, left-to-right.
11 * - `Rtl` — horizontal, right-to-left (logical-order shaping; visual reorder
12 *   is the bidi reorderer's job, not the shaper's).
13 * - `Ttb` — vertical, top-to-bottom. For vertical-writing-mode layouts;
14 *   uses the font's vertical advance metrics when available.
15 */
16enum ShapingDirection
17{
18    case Ltr;
19    case Rtl;
20    case Ttb;
21}