class final readonly Optional · pdftoolkit/pdf-to-html 0.1.2

PDF\Html\Reading\ContentMatrix
Immutable PDF affine transform: x'=ax+cy+e, y'=bx+dy+f.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(float $a = 1, float $b = 0, float $c = 0, float $d = 1, float $e = 0, float $f = 0)

Declared by PDF\Html\Reading\ContentMatrix · View the code ↗

Declared methods

concatenate()

public function concatenate(self $local): self
PDF concatenation applies the new local transform before the current transform.

Declared by PDF\Html\Reading\ContentMatrix · View the code ↗

linear()

public function linear(): array
Translation does not affect the logical edge lengths retained by derivation.
@return array{float, float, float, float}

Declared by PDF\Html\Reading\ContentMatrix · View the code ↗

operands()

public static function operands(array $operands): self
@param list<BasicType> $operands

Declared by PDF\Html\Reading\ContentMatrix · View the code ↗

unitDimensions()

public function unitDimensions(): array
@return array{float, float}

Declared by PDF\Html\Reading\ContentMatrix · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly float $aPDF\Html\Reading\ContentMatrix
public readonly float $bPDF\Html\Reading\ContentMatrix
public readonly float $cPDF\Html\Reading\ContentMatrix
public readonly float $dPDF\Html\Reading\ContentMatrix
public readonly float $ePDF\Html\Reading\ContentMatrix
public readonly float $fPDF\Html\Reading\ContentMatrix