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)
Transform
in the Graphics2D
. The specified transformation is applied to the image before the transform attribute in the Graphics2D
context is applied. The rendering attributes applied include the Clip
, Transform
, and Composite
attributes. Note that no rendering is done if the specified transform is noninvertible.
@param img the specified image to be rendered.This method does nothing if img
is null.
@param xform the transformation from image space into user space
@param obs the {@link ImageObserver}to be notified as more of the Image
is converted
@return true
if the Image
isfully loaded and completely rendered, or if it's null; false
if the Image
is still being loaded.
@see #transform
@see #setTransform
@see #setComposite
@see #clip
@see #setClip
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 of the image is converted.
@return false
if the image pixels are still changing;true
otherwise.
@see java.awt.Image
@see java.awt.image.ImageObserver
@see java.awt.image.ImageObserver#imageUpdate(java.awt.Image,int,int,int,int,int)
Transform
in the Graphics2D
. The specified transformation is applied to the image before the transform attribute in the Graphics2D
context is applied. The rendering attributes applied include the Clip
, Transform
, and Composite
attributes. Note that no rendering is done if the specified transform is noninvertible.
@param img the specified image to be rendered. This method does nothing if img
is null.
@param xform the transformation from image space into user space
@param obs the {@link ImageObserver}to be notified as more of the Image
is converted
@return true
if the Image
is fully loaded and completely rendered, or if it's null; false
if the Image
is still being loaded.
@see #transform
@see #setTransform
@see #setComposite
@see #clip
@see #setClip
If the source image contains transparent pixels, the corresponding pixels in the destination image must be left untouched. If the source image contains partially transparent pixels, a compositing operation must be performed with the destination pixels, leaving all pixels of the destination image fully opaque.
If img
is the same as the destination of this Graphics object, the result is undefined. For copying areas within an Image
, {@link #copyArea copyArea} should be used instead.
anchor
is not a legal value
@throws NullPointerException if img
is null
@see Image
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 not yet been completely loaded, then drawImage
returns false
. As more of the image becomes available, the process that draws the image notifies the specified image observer.
@param img the specified image to be drawn.
@param x the x coordinate.
@param y the y coordinate.
@param observer object to be notified as more ofthe image is converted.
@see java.awt.Image
@see java.awt.image.ImageObserver
@see java.awt.image.ImageObserver#imageUpdate(java.awt.Image,int,int,int,int,int)
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 not yet been completely loaded, then drawImage
returns false
. As more of the image becomes available, the process that draws the image notifies the specified image observer.
@param img the specified image to be drawn.
@param x the x coordinate.
@param y the y coordinate.
@param observer object to be notified as more ofthe image is converted.
@see java.awt.Image
@see java.awt.image.ImageObserver
@see java.awt.image.ImageObserver#imageUpdate(java.awt.Image,int,int,int,int,int)
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 not yet been completely loaded, then drawImage
returns false
. As more of the image becomes available, the process that draws the image notifies the specified image observer.
@param img the specified image to be drawn.
@param x the x coordinate.
@param y the y coordinate.
@param observer object to be notified as more ofthe image is converted.
@return True if the image has been fully drawn/loaded
@see java.awt.Image
@see java.awt.image.ImageObserver
@see java.awt.image.ImageObserver#imageUpdate(java.awt.Image,int,int,int,int,int)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|