class final Core · roukmoute/pdf 0.6.2
PDF\Functions\SamplingSizePositive sample-grid sizes, in input-dimension order (table 39).Inheritance and contracts
Parent : PDF\Syntax\Object\ArrayType
Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
Construction
__construct()
public function __construct(PDF\Syntax\Object\IntegerType ...$sizes)Declared methods
dimensions()
public function dimensions(): intsampleCount()
public function sampleCount(): intInherited methods
4 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intgetIterator()
public function getIterator(): TraversabletoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringProperties
| Declaration | Origin and documentation |
|---|---|
public readonly array $items | PDF\Syntax\Object\ArrayType@var list<BasicType> |
public readonly array $sizes | PDF\Functions\SamplingSize@var non-empty-list<IntegerType> |