class final Core · roukmoute/pdf 0.6.1

PDF\Graphics\Halftones\ScreenHalftone

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaDictionary

Interfaces : Countable, IteratorAggregate, PDF\Document\VersionedComponent, PDF\Graphics\Halftones\HalftoneObject, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable

Definition in the specification

Table 130 · Entries in a type 1 halftone dictionary
ISO 32000-1:2008, §10.5.5.2 · PDF page 317 ↗

EntryPDF typeSource requirementTable
/TypenameOptional130
/HalftoneTypeintegerRequired130
/HalftoneNamebyte stringOptional130
/FrequencynumberRequired130
/AnglenumberRequired130
/SpotFunctionfunction or nameRequired130
/AccurateScreensbooleanOptional130
/TransferFunctionfunction or nameOptional130

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\NumericType $frequency, PDF\Syntax\Object\NumericType $angle, PDF\Graphics\Halftones\SpotFunction $spotFunction, PDF\Graphics\Halftones\HalftoneOptions $options = new HalftoneOptions(), PDF\Syntax\Object\BooleanType $accurateScreens = new BooleanType(false))

Declared by PDF\Graphics\Halftones\ScreenHalftone · View the code ↗

Declared methods

halftoneType()

public function halftoneType(): int

Declared by PDF\Graphics\Halftones\ScreenHalftone · View the code ↗

hasTransferFunction()

public function hasTransferFunction(): bool

Declared by PDF\Graphics\Halftones\ScreenHalftone · View the code ↗

validateVersion()

public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): void

Declared by PDF\Graphics\Halftones\ScreenHalftone · View the code ↗

with()

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

Declared by PDF\Graphics\Halftones\ScreenHalftone · View the code ↗

without()

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

Declared by PDF\Graphics\Halftones\ScreenHalftone · View the code ↗

Inherited methods

9 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

count()

public function count(): int

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

definition()

public function definition(): PDF\Specification\TableDefinition

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

entries()

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

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

get()

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

getIterator()

public function getIterator(): Traversable

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

has()

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

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

toPdf()

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

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

validate()

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

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

Properties

DeclarationOrigin and documentation
public readonly PDF\Graphics\Halftones\HalftoneOptions $optionsPDF\Graphics\Halftones\ScreenHalftone

Constants