Share via


Component.createImage

Class Overview | Class Members | This Package | All Packages

Syntax 1

public Image createImage( ImageProducer producer )

Parameters
  • producer
    the image producer
Returns

the image produced.

Description

Creates an image from the specified image producer.

Syntax 2

public Image createImage( int width**, int** height )

Parameters
  • width
    the specified width.
  • height
    the specified height.
Returns

an off-screen drawable image, which can be used for double buffering.

Description

Creates an off-screen drawable image to be used for double buffering.