SetaPDF_Core_Geometry_Matrix Class representing a transformation matrix of six elements.

File: /SetaPDF v2/Core/Geometry/Matrix.php

Internally the matrix is represented as a 3x3 matrix.

Class hierarchy

Summary

Properties

$_a

protected float|int SetaPDF_Core_Geometry_Matrix::$_a = 1

Matrix value a

$_b

protected float|int SetaPDF_Core_Geometry_Matrix::$_b = 0

Matrix value b

$_c

protected float|int SetaPDF_Core_Geometry_Matrix::$_c = 0

Matrix value c

$_d

protected float|int SetaPDF_Core_Geometry_Matrix::$_d = 1

Matrix value d

$_e

protected float|int SetaPDF_Core_Geometry_Matrix::$_e = 0

Matrix value e

$_f

protected float|int SetaPDF_Core_Geometry_Matrix::$_f = 0

Matrix value f


Methods

__construct()

public SetaPDF_Core_Geometry_Matrix::__construct (
[ int|array $a = 1 [, int $b = 0 [, int $c = 0 [, int $d = 1 [, int $e = 0 [, int $f = 0 ]]]]]]
)

The constructor.

Parameters
$a : int|array
 
$b : int
 
$c : int
 
$d : int
 
$e : int
 
$f : int
 

getA()

public SetaPDF_Core_Geometry_Matrix::getA (
void
): float|int

Get the value of element A.

getB()

public SetaPDF_Core_Geometry_Matrix::getB (
void
): float|int

Get the value of element B.

getC()

public SetaPDF_Core_Geometry_Matrix::getC (
void
): float|int

Get the value of element C.

getD()

public SetaPDF_Core_Geometry_Matrix::getD (
void
): float|int

Get the value of element D.

getE()

public SetaPDF_Core_Geometry_Matrix::getE (
void
): float|int

Get the value of element E.

getF()

public SetaPDF_Core_Geometry_Matrix::getF (
void
): float|int

Get the value of element F.

getValues()

public SetaPDF_Core_Geometry_Matrix::getValues (
void
): array

Get all matrix elements values.

multiply()