public final function isInImage(Images $images) { return $this->getX() < $images->getWidth() && $this->getY() < $images->getHeight(); }