class final readonly Core · roukmoute/pdf 0.6.1
PDF\Graphics\Halftones\ThresholdArrayActual 8/16-bit MSB threshold data, with exact count and bounded construction.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(int $bits, int $count, Traversable|array|string $samples, int $maximumBytes = 67108864)@param string|iterable<int> $samplesDeclared methods
sample()
public function sample(int $index): intProperties
| Declaration | Origin and documentation |
|---|---|
public readonly int $bits | PDF\Graphics\Halftones\ThresholdArray |
public readonly string $bytes | PDF\Graphics\Halftones\ThresholdArray |
public readonly int $count | PDF\Graphics\Halftones\ThresholdArray |