MindFusion.Java Package Programmer's Guide
Utilities.drawImage Method (Graphics2D, Image, Rectangle2D, ImageAlign)
See Also
 






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

Namespace: com.mindfusion.charting
Package: 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

drawImage Method Overload List
Utilities Members
Utilities Class
com.mindfusion.charting Namespace