class final Core · roukmoute/pdf 0.6.2

PDF\Graphics\Halftones\TwoSquareHalftone
Type10: complete X square followed by complete Y square.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Graphics\Halftones\ThresholdHalftone

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

Construction

__construct()

public function __construct(PDF\Syntax\Object\IntegerType $xSquare, PDF\Syntax\Object\IntegerType $ySquare, PDF\Graphics\Halftones\ThresholdArray $thresholds, PDF\Graphics\Halftones\HalftoneOptions $options = new HalftoneOptions(), PDF\Syntax\Filters\Filter ...$filters)

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

Inherited methods

7 methods from parents and contracts

__toString()

public function __toString(): string

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

bytes()

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

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

dictionary()

public function dictionary(): PDF\Syntax\Object\DictionaryType

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

halftoneType()

public function halftoneType(): int

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

hasTransferFunction()

public function hasTransferFunction(): bool

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

toPdf()

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

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

validateVersion()

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

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

Properties