void (@NotNull Graphics2D g, int x1, int x2, int y, @NotNull Color color, boolean doubleLine, boolean dottedLine) { if (dottedLine && doubleLine) { UIUtil.drawBoldDottedLine(g, x1, x2, y - 1, null, color, false); UIUtil.drawBoldDottedLine(g, x1, x2, y, null, color, false); } else if (dottedLine) { UIUtil.drawBoldDottedLine(g, x1, x2, y - 1, null, color, false); } else if (doubleLine) { UIUtil.drawLine(g, x1, y, x2, y, null, color); UIUtil.drawLine(g, x1, y + 1, x2, y + 1, null, color); } else { UIUtil.drawLine(g, x1, y, x2, y, null, color); } }