aboutsummaryrefslogtreecommitdiffstats
path: root/src/group.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/group.js')
-rw-r--r--src/group.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/group.js b/src/group.js
index 3fc8f88..5e0df89 100644
--- a/src/group.js
+++ b/src/group.js
@@ -11,4 +11,15 @@ SVG.extend(SVG.G, {
return this.doc().defs()
}
+})
+
+SVG.extend(SVG.G, {
+ // Move using translate
+ move: function(x, y) {
+ return this.transform({
+ x: x
+ , y: y
+ })
+ }
+
}) \ No newline at end of file