@Override
    public Consumer<Graphics2D> draw(float x, float y, int startOffset, int endOffset) {
      return TextFragment.this.draw(x, y, visualOffsetToParent(startOffset), visualOffsetToParent(endOffset));
    }
@Override
    public Consumer<Graphics2D> draw(float x, float y, int startOffset, int endOffset)