diff options
author | wout <wout@impinc.co.uk> | 2012-12-18 13:16:25 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-18 13:16:25 +0100 |
commit | ecc7c2b21cc484a0a57cd7df02a533c65f7bde97 (patch) | |
tree | ccf3cce51e73e7dfd454d44ce366901a1242635d /src/group.js | |
parent | 1d8f6a6bfda2c09a1fafe330ac2d91e9d38e2019 (diff) | |
download | svg.js-ecc7c2b21cc484a0a57cd7df02a533c65f7bde97.tar.gz svg.js-ecc7c2b21cc484a0a57cd7df02a533c65f7bde97.zip |
Added transform()
Diffstat (limited to 'src/group.js')
-rw-r--r-- | src/group.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/group.js b/src/group.js new file mode 100644 index 0000000..e3cb6a8 --- /dev/null +++ b/src/group.js @@ -0,0 +1,10 @@ + +SVG.G = function G() { + this.constructor.call(this, SVG.create('g')); +}; + +// inherit from SVG.Element +SVG.G.prototype = new SVG.Element(); + +// include the container object +SVG.extend(SVG.G, SVG.Container);
\ No newline at end of file |