The ImageX Class contains the following constructors:
ImageX(Component c, int w, int h)
ImageX(ImageProducer producer)
Creates an image for offscreen rendering to be used with the specified Component.
public ImageX(Component c, int w, int h);
c | The Component that uses the image. |
w | The width of the image (in pixels). |
h | The height of the image (in pixels). |
Creates an image from an ImageProducer object.
public ImageX(ImageProducer producer);
producer | The ImageProducer object to create the image for. |