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

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

Lire la déclaration source ↗

Héritage et contrats

Ce type ne déclare pas de parent, d’interface ou de trait.

Construction

__construct()

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

Déclarée par PDF\Html\Reading\ContentMatrix · Voir le code ↗

Méthodes déclarées

concatenate()

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

Déclarée par PDF\Html\Reading\ContentMatrix · Voir le code ↗

linear()

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

Déclarée par PDF\Html\Reading\ContentMatrix · Voir le code ↗

operands()

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

Déclarée par PDF\Html\Reading\ContentMatrix · Voir le code ↗

unitDimensions()

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

Déclarée par PDF\Html\Reading\ContentMatrix · Voir le code ↗

Propriétés

DéclarationProvenance et 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