code: def __init__(self, xpos, ypos, width, height, extended_height=None):
      assert height >= 0
      assert extended_height is None or extended_height >= 0
      assert width >= 0
      # xpos and ypos can be negative. (A float can be partially visible.)
  
      self.xpos = xpos
      self.ypos = ypos
      self.width = width
      self.height = height
      self.extended_height = extended_height or height
  
file_path: catboost/contrib/python/prompt-toolkit/py2/prompt_toolkit/layout/screen.py
imports: from __future__ import unicode_literals
  from prompt_toolkit.cache import FastDictCache
  from prompt_toolkit.token import Token
  from prompt_toolkit.utils import get_cwidth
  from collections import defaultdict, namedtuple
label_desc: Use image node_id 1 to create a new WritePosition object from inherited base classes: object with example: obj = WritePosition(xpos, ypos, width, height, extended_height)