| 1 | <?php |
||
| 15 | class TransferFunctionInfo |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Preserve transfer functions (pass into the PDF file) |
||
| 19 | */ |
||
| 20 | const PRESERVE = 'Preserve'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Ignore transfer functions (do not pass into the PDF file) |
||
| 24 | */ |
||
| 25 | const REMOVE = 'Remove'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Apply transfer functions to color values |
||
| 29 | */ |
||
| 30 | const APPLY = 'Apply'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Available transfer function info values |
||
| 34 | * |
||
| 35 | * @var string[] |
||
| 36 | */ |
||
| 37 | private static $values = [ |
||
| 38 | self::PRESERVE, |
||
| 39 | self::REMOVE, |
||
| 40 | self::APPLY |
||
| 41 | ]; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get available transfer function info values |
||
| 45 | * |
||
| 46 | * @return string[] |
||
| 47 | */ |
||
| 48 | public static function values() |
||
| 52 | } |
||
| 53 |