class final Core · pdftoolkit/pdf 0.12.4

PDF\Specification\Iso32000_2\Dictionary\SoftMaskDictionaryTable142\TREntry
ISO 32000-2:2020 EC3, table 142, /TR.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaEntry

ISO 32000-2:2020 EC3 definition

Table 142 · Entries in a soft-mask dictionary
§11.6.5.1 · PDF page 434

Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗

Original retained in the core repository. Table inventory and semantic validation remain distinct.

Original normative excerpt in English.

/TR function or name

(Optional) A function object (see 7.10, "Functions") specifying the transfer function that shall 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.

PDF 2.0 scope and limits.

Construction

__construct()

Declared by PDF\Specification\Iso32000_2\Dictionary\SoftMaskDictionaryTable142\TREntry · View the code ↗

Inherited methods

3 methods from parents and contracts

definition()

public function definition(): PDF\Specification\EntryDefinition

Declared by PDF\Specification\SchemaEntry · View the code ↗

key()

public function key(): PDF\Syntax\Object\NameType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

value()

public function value(): PDF\Syntax\FileStructure\BasicType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

Properties

Constants