RedeyeVentures\GeoPattern\SVG::addRectangle PHP Method

addRectangle() public method

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