summaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js
index a67e9fe..30f4778 100644
--- a/src/element.js
+++ b/src/element.js
@@ -10,7 +10,16 @@ SVG.Element = function Element(node) {
this.attrs = {
'fill-opacity': 1,
'stroke-opacity': 1,
- 'stroke-width': 0
+ 'stroke-width': 0,
+ x: 0,
+ y: 0,
+ cx: 0,
+ cy: 0,
+ width: 0,
+ height: 0,
+ r: 0,
+ rx: 0,
+ ry: 0
};
/* initialize transformation store with defaults */