class final readonly Optional · pdftoolkit/pdf-images 0.2.3

PDF\Images\PngRaster
Reconstructed, row-padded PNG samples in their original precision.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Images\PngHeader $header, string $bytes)

Declared by PDF\Images\PngRaster · View the code ↗

Declared methods

sample()

public function sample(int $x, int $y, int $component = 0): int

Declared by PDF\Images\PngRaster · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $bytesPDF\Images\PngRaster
public readonly PDF\Images\PngHeader $headerPDF\Images\PngRaster