public class SwingImageCreator
extends java.lang.Object
| Constructor and Description |
|---|
SwingImageCreator() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
createImage(javax.swing.JComponent component)
Creates a buffered image of type TYPE_INT_RGB
from the supplied component.
|
static java.awt.image.BufferedImage |
createImage(javax.swing.JComponent component,
int imageType)
Creates a buffered image (of the specified type)
from the supplied component.
|
public static java.awt.image.BufferedImage createImage(javax.swing.JComponent component)
component - the component to drawpublic static java.awt.image.BufferedImage createImage(javax.swing.JComponent component,
int imageType)
component - the component to drawimageType - the type of buffered image to draw