Search
Utilities.drawImage Method
See Also
 






Draws the specified image at the specified rectangle in the specified graphics and with the specified alignment.

Namespace: com.mindfusion.charting
File: com.mindfusion.charting

 Syntax

Java  Copy Code

public static void drawImage (
    Graphics2D g,
    Image image,
    Rectangle2D rect,
    ImageAlign imageAlign
)

 Parameters

g

A Graphics2D to draw the image onto.

image

The Image to draw.

rect

A Rectangle2D that provide the layout rectangle for the image.

imageAlign

One of the ImageAlign enumeration values. The members allow bitwise combining.

 See Also