def setCenter(self, loc):
        """ Move this region so it is centered on ``loc`` """
        offset = self.getCenter().getOffset(loc) # Calculate offset from current center
        return self.setLocation(self.getTopLeft().offset(offset)) # Move top left corner by the same offset