4 * @link http://github.com/PhenX/php-svg-lib
5 * @author Fabien Ménager <fabien.menager@gmail.com>
6 * @license GNU LGPLv3+ http://www.gnu.org/copyleft/lesser.html
13 class Group
extends AbstractTag
15 protected function before($attributes)
17 $surface = $this->document
->getSurface();
21 $style = $this->makeStyle($attributes);
23 $this->setStyle($style);
24 $surface->setStyle($style);
26 $this->applyTransform($attributes);
29 protected function after()
31 $this->document
->getSurface()->restore();