class final Core · roukmoute/pdf 0.7.1

PDF\Graphics\XObjects\ColourKeyMask
Inclusive raw-sample intervals, before Decode (8.9.6.4, p.222).

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\ArrayType

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

Construction

__construct()

public function __construct(PDF\Functions\NumberInterval ...$intervals)

Declared by PDF\Graphics\XObjects\ColourKeyMask · View the code ↗

Declared methods

masks()

public function masks(int ...$components): bool

Declared by PDF\Graphics\XObjects\ColourKeyMask · View the code ↗

validate()

public function validate(int $components, int $bits): void

Declared by PDF\Graphics\XObjects\ColourKeyMask · View the code ↗

Inherited methods

4 methods from parents and contracts

__toString()

public function __toString(): string

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

count()

public function count(): int

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

getIterator()

public function getIterator(): Traversable

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

toPdf()

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

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

Properties

DeclarationOrigin and documentation
public readonly array $intervalsPDF\Graphics\XObjects\ColourKeyMask
@var non-empty-list<NumberInterval>
public readonly array $itemsPDF\Syntax\Object\ArrayType
@var list<BasicType>