class final Core · roukmoute/pdf 0.6.1
PDF\Specification\Dictionary\Type4ShadingDictionaryTable82\BitsPerFlagEntryTable 82, /BitsPerFlag; PDF type: integer; Required.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 82 · Additional Entries Specific to a Type 4 Shading Dictionary
ISO 32000-1:2008, §8.7.4.5.5 · PDF page 197 ↗
/BitsPerFlag integer
(Required) The number of bits used to represent the edge flag for each vertex (see below). The value of BitsPerFlag shall be 2, 4, or 8, but only the least significant 2 bits in each flag value shall be used. The value for the edge flag shall be 0, 1, or 2.
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\Type4ShadingDictionaryTable82\BitsPerFlagEntry |
TABLE | | PDF\Specification\Dictionary\Type4ShadingDictionaryTable82\BitsPerFlagEntry |
VARIABLE | | PDF\Specification\SchemaEntry |