class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\ShadingDictionaryTable78\ShadingTypeEntryTable 78, /ShadingType; PDF type: integer; Required.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 78 · Entries Common to All Shading Dictionaries
ISO 32000-1:2008, §8.7.4.3 · PDF page 191 ↗
/ShadingType integer
(Required) The shading type: 1 Function-based shading 2 Axial shading 3 Radial shading 4 Free-form Gouraud-shaded triangle mesh 5 Lattice-form Gouraud-shaded triangle mesh 6 Coons patch mesh 7 Tensor-product patch mesh
Qualifier: Required
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\IntegerType|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\ShadingDictionaryTable78\ShadingTypeEntry |
TABLE | | PDF\Specification\Dictionary\ShadingDictionaryTable78\ShadingTypeEntry |
VARIABLE | | PDF\Specification\SchemaEntry |