public function line(float $x, float $y) : self
    {
        $path = clone $this;
        $path->operations[] = new Line($x, $y);
        return $path;
    }
public function line(float $x, float $y) : self
    {
        $path = clone $this;
        $path->operations[] = new Line($x, $y);
        return $path;
    }
public function line ( float $ x , float $ y ) : self { $ path = clone $ this ; $ path -> operations [ ] = new Line ( $ x , $ y ) ; return $ path ; }
Draws a line from the current position to another position.
Draws a line from the current position to another position .