class_docstr: Class representing a rectangle.
class_docstr_tok: ["Class","representing","a","rectangle","."]
docstr: The X coordinate of the center of the box
docstr_tok: ["The","X","coordinate","of","the","center","of","the","box"]
code: def midx(self):
      """The X coordinate of the center of the box"""
      return (self._left + self._right) / 2.0
  
imports: from collections import defaultdict
  from math import atan2, cos, hypot, sin
  from typing import NamedTuple
  from igraph.utils import consecutive_pairs
label_desc: Use image node_id 16 for calling the Rectangle obj's underlying member method code with example usage: obj.midx() and returns: unknown