예제 #1
0
 public function __construct($width = null, $height = null)
 {
     parent::__construct('svg', array('width', 'height', 'viewBox'));
     if ($width != null) {
         $this->set('width', $width);
     }
     if ($height != null) {
         $this->set('height', $height);
     }
 }
예제 #2
0
 public function __construct($name = null, $attribute = null)
 {
     parent::__construct($name, $attribute);
     $this->pathDatas = array("+" => new Media_SVG_Path_Data("+"), "-" => new Media_SVG_Path_Data("-"));
 }