
diff -r 625ac8b8bb87 -r a0caf91c8374 src_js/iconolab-bundle/src/components/editor/ShapeRect.vue
--- a/src_js/iconolab-bundle/src/components/editor/ShapeRect.vue	Tue Feb 21 15:34:27 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/ShapeRect.vue	Tue Feb 21 16:04:20 2017 +0100
@@ -155,6 +155,11 @@
                 bottomRightHandler.drag(handlerEvents.onMove, handlerEvents.onStart, handlerEvents.onEnd);
             },
 
+            getCenter: function() {
+                var shape = new Snap(this.$refs.shape);
+                console.log(shape.getBBox());
+            },
+
             fromSVGPath: function(pathString, tooltip) {
                 var bBox = Snap.path.getBBox(pathString);
 




