docs: public Rectangle getTextBounds() {
          List<TextElement> texts = this.getText();
          if (!texts.isEmpty()) {
              return Utils.bounds(texts);
          }
          else {
              return new Rectangle();
          }
          
      }