Microsoft SDK for Java

ImageX Class Constructors

The ImageX Class contains the following constructors:

ImageX(Component c, int w, int h)
ImageX(ImageProducer producer)

ImageX(Component c, int w, int h)

Creates an image for offscreen rendering to be used with the specified Component.

Syntax

public ImageX(Component c, int w, int h);

Parameters

c The Component that uses the image.
w The width of the image (in pixels).
h The height of the image (in pixels).

ImageX(ImageProducer producer)

Creates an image from an ImageProducer object.

Syntax

public ImageX(ImageProducer producer);

Parameters

producer The ImageProducer object to create the image for.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.