int (@NotNull Graphics g, Color backColor, @NotNull CharSequence text, int start, int end, @NotNull Point position, @JdkConstants.FontStyle int fontType, @NotNull Color defaultBackground, @NotNull Rectangle clip) { int width = getTextSegmentWidth(text, start, end, position.x, fontType, clip); return drawBackground(g, backColor, width, position, defaultBackground, clip); }