private static void drawTrapezium(@NotNull Graphics2D g,
                                      int width,
                                      int startY1, int endY1,
                                      int startY2, int endY2,
                                      @Nullable Color fillColor, @Nullable Color borderColor,
                                      boolean curve) {
      if (curve) {
        DiffDrawUtil.drawCurveTrapezium(g, 0, width, startY1, endY1, startY2, endY2, fillColor, borderColor);
      }
      else {
        DiffDrawUtil.drawTrapezium(g, 0, width, startY1, endY1, startY2, endY2, fillColor, borderColor);
      }
    }
private static void drawTrapezium(@NotNull Graphics2D g,
                                      int width,
                                      int startY1, int endY1,
                                      int startY2, int endY2,
                                      @Nullable Color fillColor, @Nullable Color borderColor,
                                      boolean curve)