Renders a {@link RenderableImage}, applying a transform from image space into user space before drawing. The transformation from user space into device space is done with the current
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.
Rendering hints set on the Graphics2D object might be used in rendering the RenderableImage. If explicit control is required over specific hints recognized by a specific RenderableImage, or if knowledge of which hints are used is required, then a RenderedImage should be obtained directly from the RenderableImage and rendered using {@link #drawRenderedImage(RenderedImage,AffineTransform) drawRenderedImage}.
@param img the image to be rendered. This method doesnothing if img is null.
@param xform the transformation from image space into user space
@see #transform
@see #setTransform
@see #setComposite
@see #clip
@see #setClip
@see #drawRenderedImage