Previous ION Java User's Guide: ION Java Class and Method Reference Next

readImage()

Use the readImage() method to read the contents of the current drawable.

Syntax

readImage()

readImage(int x0, int y0, int width, int height)

Arguments

x0

The x start position of the rectangle to read

y0

The y start position of the rectangle to read

width

The width of the rectangle to read

height

The height of the rectangle to read

Exceptions

None

Example

Image im = readImage();  
Image im = readImage( x0, y0, width, height);  

  IDL Online Help (March 06, 2007)