\BaconQrCode\Renderer\ImageTransformationMatrix

Summary

Methods
Properties
Constants
__construct()
multiply()
scale()
translate()
rotate()
apply()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$values
N/A

Properties

$values

$values : float[]

Type

float[]

Methods

__construct()

__construct() : mixed

Returns

mixed —

multiply()

multiply(self  $other) : self

Parameters

self $other

Returns

self —

scale()

scale(float  $size) : self

Parameters

float $size

Returns

self —

translate()

translate(float  $x, float  $y) : self

Parameters

float $x
float $y

Returns

self —

rotate()

rotate(int  $degrees) : self

Parameters

int $degrees

Returns

self —

apply()

apply(float  $x, float  $y) : float[]

Applies this matrix onto a point and returns the resulting viewport point.

Parameters

float $x
float $y

Returns

float[] —