code: def get_center(self):
          
  
          lr_x, lr_y = self.get_vec_lr()
          tb_x, tb_y = self.get_vec_tb()
  
          center_x = self.x + (lr_x + tb_x) / 2.0
          center_y = self.y + (lr_y + tb_y) / 2.0
  
          return center_x, center_y
docs: Returns rectangle center