code: def get_position(self, focus=None):
          
  
          focus = focus or self._focus or 'anchor'
          if focus == 'anchor':
              pos = self.attr('pos')
          elif focus == 'center':
              x, y = self.attr('pos')
              w, h = self.get_size()
              ap_x, ap_y = self.attr("anchorPoint")
              fx, fy = 0.5, 0.5
              pos = [x + w * (fx - ap_x), y + h * (fy - ap_y)]
          elif type(focus) in (list, tuple):
              x, y = self.attr('pos')
              w, h = self.get_size()
              ap_x, ap_y = self.attr("anchorPoint")
              fx, fy = focus
              pos = [x + w * (fx - ap_x), y + h * (fy - ap_y)]
          else:
              raise TypeError('Unsupported focus type {}. '
                              'Only "anchor/center" or 2-list/2-tuple available.'.format(type(focus)))
          return pos
docs: Get the position of the UI elements.
  
          Args:
              focus: focus point of UI proxy,  see :py:meth:`.focus() <poco.proxy.UIObjectProxy.focus>` for more details
  
          Returns:
              2-list/2-tuple: coordinates (x, y) in NormalizedCoordinate system
  
          Raises:
              TypeError: raised when unsupported focus type is specified