class final readonly Optional · pdftoolkit/pdf-reader 0.8.1

PDF\Reading\ImageCodecs\ComponentPlane
Exact row-padded MSB-first samples, independent of the optional codec package.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(int $width, int $height, int $precision, bool $signed, string $bytes, int $separationX = 1, int $separationY = 1, int $originX = 0, int $originY = 0, string $alpha = 'none')

Declared by PDF\Reading\ImageCodecs\ComponentPlane · View the code ↗

Declared methods

sample()

public function sample(int $x, int $y): int

Declared by PDF\Reading\ImageCodecs\ComponentPlane · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $alphaPDF\Reading\ImageCodecs\ComponentPlane
public readonly string $bytesPDF\Reading\ImageCodecs\ComponentPlane
public readonly int $heightPDF\Reading\ImageCodecs\ComponentPlane
public readonly int $originXPDF\Reading\ImageCodecs\ComponentPlane
public readonly int $originYPDF\Reading\ImageCodecs\ComponentPlane
public readonly int $precisionPDF\Reading\ImageCodecs\ComponentPlane
public readonly int $rowBytesPDF\Reading\ImageCodecs\ComponentPlane
public readonly int $separationXPDF\Reading\ImageCodecs\ComponentPlane
public readonly int $separationYPDF\Reading\ImageCodecs\ComponentPlane
public readonly bool $signedPDF\Reading\ImageCodecs\ComponentPlane
public readonly int $widthPDF\Reading\ImageCodecs\ComponentPlane