class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\SoftMaskDictionaryTable144\TREntryTable 144, /TR; PDF type: function or name; Optional.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 144 · Entries in a soft-mask dictionary
ISO 32000-1:2008, §11.6.5.3 · PDF page 355 ↗
/TR function or name
(Optional) A function object (see “Functions”) specifying the transfer function to be used in deriving the mask values. The function shall accept one input, the computed group alpha or luminosity (depending on the value of the subtype S), and shall return one output, the resulting mask value. The input shall be in the range 0.0 to 1.0. The computed output shall be in the range 0.0 to 1.0; if it falls outside this range, it shall be forced to the nearest valid value. The name Identity may be specified in place of a function object to designate the identity function. Default value: Identity.
Qualifier: Optional
Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.
Construction
__construct()
public function __construct(PDF\Syntax\Object\DictionaryType|PDF\Syntax\Object\NameType|PDF\Syntax\Object\IndirectReference $value)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |
Constants
| Name | PHP value | Origin |
|---|---|---|
KEY | | PDF\Specification\Dictionary\SoftMaskDictionaryTable144\TREntry |
TABLE | | PDF\Specification\Dictionary\SoftMaskDictionaryTable144\TREntry |
VARIABLE | | PDF\Specification\SchemaEntry |