public final class ImagePainter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TransparencyOpaque |
Modifier and Type | Method and Description |
---|---|
static void |
draw(java.awt.Graphics2D g,
java.awt.Image image,
java.awt.geom.Rectangle2D rect,
java.util.EnumSet<ImageAlignment> align)
Draws the specified image in the target rectangle
in the specified graphics using the specified image alignment.
|
static void |
draw(java.awt.Graphics2D g,
java.awt.Image image,
java.awt.geom.Rectangle2D rect,
java.util.EnumSet<ImageAlignment> align,
int transparency)
Draws the specified image in the target rectangle in the specified graphics
using the specified image alignment and semi-transparency factor.
|
static void |
draw(java.awt.Graphics2D g,
java.awt.Image image,
java.awt.geom.Rectangle2D rect,
ImageAlignment align)
Draws the specified image in the target rectangle
in the specified graphics using the specified image alignment.
|
static void |
draw(java.awt.Graphics2D g,
java.awt.Image image,
java.awt.Rectangle rect,
java.util.EnumSet<ImageAlignment> align)
Draws the specified image in the target rectangle
in the specified graphics using the specified image alignment.
|
static void |
draw(java.awt.Graphics2D g,
java.awt.Image image,
java.awt.Rectangle rect,
java.util.EnumSet<ImageAlignment> align,
int transparency)
Draws the specified image in the target rectangle in the specified graphics
using the specified image alignment and semi-transparency factor.
|
static void |
draw(java.awt.Graphics2D g,
java.awt.Image image,
java.awt.Rectangle rect,
ImageAlignment align)
Draws the specified image in the target rectangle
in the specified graphics using the specified image alignment.
|
public static void draw(java.awt.Graphics2D g, java.awt.Image image, java.awt.Rectangle rect, ImageAlignment align)
public static void draw(java.awt.Graphics2D g, java.awt.Image image, java.awt.Rectangle rect, java.util.EnumSet<ImageAlignment> align)
public static void draw(java.awt.Graphics2D g, java.awt.Image image, java.awt.geom.Rectangle2D rect, ImageAlignment align)
public static void draw(java.awt.Graphics2D g, java.awt.Image image, java.awt.geom.Rectangle2D rect, java.util.EnumSet<ImageAlignment> align)
public static void draw(java.awt.Graphics2D g, java.awt.Image image, java.awt.Rectangle rect, java.util.EnumSet<ImageAlignment> align, int transparency)
public static void draw(java.awt.Graphics2D g, java.awt.Image image, java.awt.geom.Rectangle2D rect, java.util.EnumSet<ImageAlignment> align, int transparency)