Image.getHeight

Image.getHeight

Class Overview | Class Members | This Package | All Packages

Syntax
public abstract int getHeight( ImageObserver observer )
Parameters
observer
an object waiting for the image to be loaded.
Returns
the height of this image, or -1 if the height is not yet known.
Description
Determines the height of the image. If the height is not yet known, this method returns -1 and the specified ImageObserver object is notified later.

See Also
getWidth, ImageObserver