def centerx(self, value):
        """Move rects uniformly so 'centerx == value'."""
        self._sample_rect.centerx = value

        self.move_ip(self._sample_rect.centerx - self.centerx, 0)
Move rects uniformly so 'centerx == value'.
nodezator/rectsman/spatial.py