src/MyPdf.php
public function svgLine($x1, $y1, $x2, $y2)
    {
        // get the Closing operator
        $op='S';

        // drawing
        $this->_Point($x1, $y1, true);
        $this->_Line($x2, $y2, true);
        $this->_out($op);
    }
public function svgLine($x1, $y1, $x2, $y2)
    {
        // get the Closing operator
        $op='S';

        // drawing
        $this->_Point($x1, $y1, true);
        $this->_Line($x2, $y2, true);
        $this->_out($op);
    }
public function svgLine ( $ x1 , $ y1 , $ x2 , $ y2 ) { // get the Closing operator $ op = 'S' ; // drawing $ this -> _Point ( $ x1 , $ y1 , true ) ; $ this -> _Line ( $ x2 , $ y2 , true ) ; $ this -> _out ( $ op ) ; }
SVG - make a Line

@param float $x1
@param float $y1
@param float $x2
@param float $y2
@access public
SVG - make a Line