This method returns immediately in all cases, even if the complete image has not yet been loaded, and it has not been dithered and converted for the current output device.
If the image has completely loaded and its pixels are no longer being changed, then drawImage
returns true
. Otherwise, drawImage
returns false
and as more of the image becomes available or it is time to draw another frame of animation, the process that loads the image notifies the specified image observer.
@param img the specified image to be drawn. This method doesnothing if img
is null.
@param x the x coordinate.
@param y the y coordinate.
@param observer object to be notified as more ofthe image is converted.
@return false
if the image pixels are still changing;true
otherwise.
@see ae.java.awt.Image
@see ae.java.awt.image.ImageObserver
@see ae.java.awt.image.ImageObserver#imageUpdate(ae.java.awt.Image,int,int,int,int,int)
|
|
|
|