protected function SetDash($black = null, $white = null)
    {
        if ($black !== null) {
            $s = sprintf('[%.3F %.3F] 0 d', $black * $this->k, $white * $this->k);
        } else {
            $s = '[] 0 d';
        }
        $this->_out($s);
    }
protected function SetDash($black = null, $white = null)
    {
        if ($black !== null) {
            $s = sprintf('[%.3F %.3F] 0 d', $black * $this->k, $white * $this->k);
        } else {
            $s = '[] 0 d';
        }
        $this->_out($s);
    }
protected function SetDash ( $ black = null , $ white = null ) { if ( $ black !== null ) { $ s = sprintf ( '[%.3F %.3F] 0 d' , $ black * $ this -> k , $ white * $ this -> k ) ; } else { $ s = '[] 0 d' ; } $ this -> _out ( $ s ) ; }
This extension allows to set a dash pattern and draw dashed lines or rectangles.

Call the function without parameter to restore normal drawing.

@link http://www.fpdf.org/en/script/script33.php
@author yukihiro_o <yukihiro_o@infoseek.jp>
@license FPDF
@param float black Length of dashes
@param float white Length of gaps
This extension allows to set a dash pattern and draw dashed lines or rectangles .