void (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); }