Search
ImagePainter.draw Method
See Also
 






Draws the specified image in the target rectangle in the specified graphics using the specified image alignment and semi-transparency factor. The transparency ranges from 0 (invisible) to 255 (opaque).

Namespace: com.mindfusion.drawing
File: com.mindfusion.drawing

 Syntax

Java  Copy Code

public static void draw (
    Graphics2D g,
    Image image,
    Rectangle rect,
    EnumSet<ImageAlignment> align,
    int transparency
)

 Parameters

g

image

rect

align

transparency

 See Also