Submit
Path:
~
/
/
opt
/
psa
/
phpMyAdmin
/
vendor
/
bacon
/
bacon-qr-code
/
src
/
Renderer
/
Path
/
File Content:
Line.php
<?php declare(strict_types = 1); namespace BaconQrCode\Renderer\Path; final class Line implements OperationInterface { /** * @var float */ private $x; /** * @var float */ private $y; public function __construct(float $x, float $y) { $this->x = $x; $this->y = $y; } public function getX() : float { return $this->x; } public function getY() : float { return $this->y; } /** * @return self */ public function translate(float $x, float $y) : OperationInterface { return new self($this->x + $x, $this->y + $y); } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
Close.php
504 bytes
0644
Curve.php
1469 bytes
0644
EllipticArc.php
6995 bytes
0644
Line.php
656 bytes
0644
Move.php
656 bytes
0644
OperationInterface.php
226 bytes
0644
Path.php
2468 bytes
0644
N4ST4R_ID | Naxtarrr