Normally an object\'s position relative to the canvas can be gotten from it\'s .left and .top attributes, but these become relative to the group if
.left
.top
just as a complement to Swapnil Jain's answer the same goes for the top attribute.
top
So:
absoluteLeft = rect.left + rect.group.left - rect.group.width / 2 absoluteTop = rect.top + rect.group.top - rect.group.height / 2