Image.getWidth
Class Overview | Class Members | This Package | All Packages
Syntax
public abstract int getWidth( ImageObserver observer )
Parameters
- observer
an object waiting for the image to be loaded.
Returns
the width of this image, or -1 if the width is not yet known.
Description
Determines the width of the image. If the width is not yet known, this method returns -1 and the specified ImageObserver object is notified later.