function filled_rectangle($x1, $y1, $w, $h, $color, $blend = "Normal", $opacity = 1.0) { $this->_set_fill_color($color); $this->_set_line_style(1, "square", "miter", array()); $this->_set_line_transparency($blend, $opacity); $this->_set_fill_transparency($blend, $opacity); $this->_pdf->filledRectangle($x1, $this->y($y1) - $h, $w, $h); }
function filled_rectangle($x1, $y1, $w, $h, $color) { $this->_set_fill_color($color); $this->_pdf->filledRectangle($x1, $this->y($y1) - $h, $w, $h); }