__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
<?php namespace RedeyeVentures\GeoPattern;

use RedeyeVentures\GeoPattern\SVGElements\Group;
use RedeyeVentures\GeoPattern\SVGElements\Polyline;
use RedeyeVentures\GeoPattern\SVGElements\Rectangle;
use RedeyeVentures\GeoPattern\SVGElements\Circle;
use RedeyeVentures\GeoPattern\SVGElements\Path;

class SVG {

    protected $width;
    protected $height;
    protected $svgString;

    function __construct($options=array())
    {
        $this->width = 100;
        $this->height = 100;
        $this->svgString = '';
    }

    public function setWidth($width)
    {
        $this->width = floor($width);
        return $this;
    }

    public function setHeight($height)
    {
        $this->height = floor($height);
        return $this;
    }

    protected function getSvgHeader()
    {
        return "<?xml version=\"1.0\"?><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{$this->width}\" height=\"{$this->height}\">";
    }

    protected function getSvgFooter()
    {
        return '</svg>';
    }

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

    public function addCircle($cx, $cy, $r, $args=array())
    {
        $circle = new Circle($cx, $cy, $r, $args);
        $this->svgString .= $circle;
        return $this;
    }

    public function addPath($d, $args=array())
    {
        $path = new Path($d, $args);
        $this->svgString .= $path;
        return $this;
    }

    public function addPolyline($points, $args=array())
    {
        $polyline = new Polyline($points, $args);
        $this->svgString .= $polyline;
        return $this;
    }

    public function addGroup($group, $args=array())
    {
        if ($group instanceof Group)
        {
            $group->setArgs($args);
            $this->svgString .= $group;
            return $this;
        }
        throw new \InvalidArgumentException("The group provided is not a valid instance of Group.");
    }

    public function getString()
    {
        return $this->getSvgHeader().$this->svgString.$this->getSvgFooter();
    }

    public function __toString()
    {
        return $this->getString();
    }


}

Filemanager

Name Type Size Permission Actions
SVGElements Folder 0777
GeoPattern.php File 50.67 KB 0777
SVG.php File 2.22 KB 0777
Filemanager