SyntaxFix
Write A Post
Hire A Developer
Questions
Use getBBox function
http://jsfiddle.net/Xkv3X/1/
var bBox = svg1.getBBox(); console.log('XxY', bBox.x + 'x' + bBox.y); console.log('size', bBox.width + 'x' + bBox.height);