Search
Utilities.drawImage Method
See Also
 






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

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

 Syntax

Java  Copy Code

public static void drawImage (
    Graphics2D g,
    Image image,
    Rectangle2D rect,
    ImageAlign imageAlign,
    double rotationAngle,
    Point2D pivot
)

 Parameters

g

A Graphics2D to draw the image onto.

image

The Image to draw.

rect

The layout Rectangle2D for the image.

imageAlign

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

rotationAngle

The angle of rotation, in radians.

pivot

A Point2D instance. The pivot of the rotation.

 See Also