public function addRectangle($x, $y, $width, $height, $args = array()) { $rectangle = new Rectangle($x, $y, $width, $height, $args); $this->svgString .= $rectangle; return $this; }