class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\Type1PatternDictionaryTable75\PaintTypeEntryTable 75, /PaintType; PDF type: integer; Required.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 75 · Additional Entries Specific to a Type 1 Pattern Dictionary
ISO 32000-1:2008, §8.7.3.1 · PDF page 183 ↗
/PaintType integer
(Required) A code that determines how the colour of the pattern cell shall be specified: a) Coloured tiling pattern. The pattern’s content stream shall specify the colours used to paint the pattern cell. When the content stream begins execution, the current colour is the one that was initially in effect in the pattern’s parent content stream. This is similar to the definition of the pattern matrix; see 8.7.2, "General Properties of Patterns". b) Uncoloured tiling pattern. The pattern’s content stream shall not specify any colour information. Instead, the entire pattern cell is painted with a separately specified colour each time the pattern is used. Essentially, the content stream describes a stencil through which the current colour shall be poured. The content stream shall not invoke operators that specify colours or other colour- related parameters in the graphics state; otherwise, an error occurs (see 8.6.8, "Colour Operators"). The content stream may paint an image mask, however, since it does not specify any colour information (see 8.9.6.2, "Stencil Masking").
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\Type1PatternDictionaryTable75\PaintTypeEntry |
TABLE | | PDF\Specification\Dictionary\Type1PatternDictionaryTable75\PaintTypeEntry |
VARIABLE | | PDF\Specification\SchemaEntry |