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

        self.move_ip(self._sample_rect.center - Vector2(self.center))
Move rects uniformly so 'center == value'.
nodezator/rectsman/spatial.py