class final readonly Optional · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\ComponentPlane
Row-padded, MSB-first samples; signed samples use precision-bit two's complement.

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, PDFToolkit\Codecs\AlphaType $alpha = PDFToolkit\Codecs\AlphaType::None)

Declared by PDFToolkit\Codecs\ComponentPlane · View the code ↗

Declared methods

sample()

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

Declared by PDFToolkit\Codecs\ComponentPlane · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDFToolkit\Codecs\AlphaType $alphaPDFToolkit\Codecs\ComponentPlane
public readonly string $bytesPDFToolkit\Codecs\ComponentPlane
public readonly int $heightPDFToolkit\Codecs\ComponentPlane
public readonly int $originXPDFToolkit\Codecs\ComponentPlane
public readonly int $originYPDFToolkit\Codecs\ComponentPlane
public readonly int $precisionPDFToolkit\Codecs\ComponentPlane
public readonly int $rowBytesPDFToolkit\Codecs\ComponentPlane
public readonly int $separationXPDFToolkit\Codecs\ComponentPlane
public readonly int $separationYPDFToolkit\Codecs\ComponentPlane
public readonly bool $signedPDFToolkit\Codecs\ComponentPlane
public readonly int $widthPDFToolkit\Codecs\ComponentPlane