code: public Rectangle getRect() {
          verifyPropertyPresence(RECT);
          //noinspection unchecked
          return mapToRect((Map<String, Object>) getCommandResult().get(RECT));
      }
docs: Returns rectangle of partial image occurrence.
  
  @return The region of the partial image occurrence on the full image.