void paint(@NotNull Graphics2D g, double x, double y, double width, double height, @Nullable T object);
void paint(@NotNull Graphics2D g, double x, double y, double width, double height, @Nullable T object)