@Override
    public void paint(final @NotNull Graphics2D g,
                      @NotNull Rectangle2D rect,
                      @Nullable Double arc,
                      @NotNull StrokeType strokeType,
                      double strokeWidth,
                      @NotNull Object valueAA) {
      paint(g, rect.getX(), rect.getY(), rect.getWidth(), rect.getHeight(), arc, strokeType, strokeWidth, valueAA);
    }
@Override
    public void paint(final @NotNull Graphics2D g,
                      @NotNull Rectangle2D rect,
                      @Nullable Double arc,
                      @NotNull StrokeType strokeType,
                      double strokeWidth,
                      @NotNull Object valueAA)