/** * Chage the current coordinate location to match the passed coordinate * location * * @param \Jaguar\Coordinate $coordinate * * @return \Jaguar\Coordinate */ public function setLocation(Coordinate $coordinate) { return $this->setX($coordinate->getX())->setY($coordinate->getY()); }
public function __toString() { return implode(',', [$this->topLeft->getX(), $this->topLeft->getY(), $this->bottomRight->getX(), $this->bottomRight->getY()]); }