public class GraphicsManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.awt.GraphicsConfiguration |
gc |
| Constructor and Description |
|---|
GraphicsManager() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
getGCCompatibleImage(int width,
int height)
Functionally equivalent to
gc.createCompatibleImage(width, height, Transparency.TRANSLUCENT)
but allows reusing released images.
|
static void |
recycleGCCompatibleImage(java.awt.image.BufferedImage img)
Add an image to the recycled images list (or if img = null, does nothing).
|
public static java.awt.image.BufferedImage getGCCompatibleImage(int width,
int height)
public static void recycleGCCompatibleImage(java.awt.image.BufferedImage img)