I need to create a rectangular BufferedImage with a specified background color, draw some pattern on the background and save it to file. I don\'t know how to cr
BufferedImage
Probably something like:
BufferedImage image = new BufferedImage(...); Graphics2D g2d = image.createGraphics(); g2d.setColor(...); g2d.fillRect(...);