- Full name:
\BaconQrCode\Renderer\Image\TransformationMatrix
- This class is marked as final and can't be subclassed
- This class is a Final class
private float[] $values
public __construct(): mixed
public multiply(self $other): self
Parameters:
Parameter | Type | Description |
---|---|---|
$other |
self |
public static scale(float $size): self
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$size |
float |
public static translate(float $x, float $y): self
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
float | |
$y |
float |
public static rotate(int $degrees): self
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$degrees |
int |
Applies this matrix onto a point and returns the resulting viewport point.
public apply(float $x, float $y): float[]
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
float | |
$y |
float |