class final Core · roukmoute/pdf 0.6.2

PDF\Graphics\ColourSpaces\DeviceNAttributes
Declared DeviceN/NChannel colorants, process mapping and ink hints (tables 71–73).

Lire la déclaration source ↗

Héritage et contrats

Parent : PDF\Specification\SchemaDictionary

Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable

Définition dans la norme

Tableau 71 · Entries in a DeviceN Colour Space Attributes Dictionary
ISO 32000-1:2008, §8.6.6.5 · page PDF 169 ↗

EntréeType PDFExigence de la sourceTableau
/SubtypenameOptional; PDF 1.671
/ColorantsdictionaryRequired if Subtype is NChannel and the colour space includes spot colorants; otherwise optional71
/ProcessdictionaryRequired if Subtype is NChannel and the colour space includes components of a process colour space, otherwise optional; PDF 1.671
/MixingHintsdictionaryOptional; PDF 1.671

Les descriptions conditionnelles restent traçables. La présence d’une définition ne réalise pas à elle seule un codec, une signature ou tous les traitements du format. Lire la couverture.

Construction

__construct()

public function __construct(PDF\Syntax\Object\NameType $subtype = new NameType('DeviceN'), ?PDF\Graphics\ColourSpaces\ColorantDictionary $colorants = null, ?PDF\Graphics\ColourSpaces\DeviceNProcess $process = null, ?PDF\Graphics\ColourSpaces\DeviceNMixingHints $mixingHints = null)

Déclarée par PDF\Graphics\ColourSpaces\DeviceNAttributes · Voir le code ↗

Méthodes déclarées

validateComponents()

public function validateComponents(PDF\Graphics\ColourSpaces\ColourComponentNames $components): void

Déclarée par PDF\Graphics\ColourSpaces\DeviceNAttributes · Voir le code ↗

with()

public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): static

Déclarée par PDF\Graphics\ColourSpaces\DeviceNAttributes · Voir le code ↗

without()

public function without(PDF\Syntax\Object\NameType|string $key): static

Déclarée par PDF\Graphics\ColourSpaces\DeviceNAttributes · Voir le code ↗

Méthodes héritées

9 méthodes des parents et contrats

__toString()

public function __toString(): string

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

count()

public function count(): int

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

definition()

public function definition(): PDF\Specification\TableDefinition

Déclarée par PDF\Specification\SchemaDictionary · Voir le code ↗

entries()

public function entries(): iterable
@return iterable<Entry>

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

get()

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

getIterator()

public function getIterator(): Traversable

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

has()

public function has(PDF\Syntax\Object\NameType|string $key): bool

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Déclarée par PDF\Specification\SchemaDictionary · Voir le code ↗

validate()

public function validate(): void
Checks unconditional requirements; conditional and inherited rules remain explicit.

Déclarée par PDF\Specification\SchemaDictionary · Voir le code ↗

Propriétés

Constantes