public final class ImageRegion extends Region
| Constructor and Description |
|---|
ImageRegion(java.awt.Image img)
Constructor for the ImageRegion object
|
ImageRegion(java.awt.Image img,
int width,
int height)
Constructor for the ImageRegion object
|
public ImageRegion(java.awt.Image img)
img - Description of Parameterpublic ImageRegion(java.awt.Image img,
int width,
int height)
img - Description of Parameterwidth - Description of Parameterheight - Description of Parameterpublic java.awt.Image getImage()
public int getWidth()
public int getHeight()