Move
in package
implements
OperationInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- $x : float
- $y : float
- __construct() : mixed
- getX() : float
- getY() : float
- translate() : self
- Translates the operation's coordinates.
Properties
$x
private
float
$x
$y
private
float
$y
Methods
__construct()
public
__construct(float $x, float $y) : mixed
Parameters
- $x : float
- $y : float
Return values
mixed —getX()
public
getX() : float
Return values
float —getY()
public
getY() : float
Return values
float —translate()
Translates the operation's coordinates.
public
translate(float $x, float $y) : self
Parameters
- $x : float
- $y : float