Creating Images Programmatically

suggest change


BufferedImage.getGraphics() always returns Graphics2D.

Using a VolatileImage may significantly improve the speed of drawing operations, but also has its drawbacks: its contents may be lost at any moment and they may have to be redrawn from scratch.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents