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
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the Height attribute of the ImageRegion object
|
java.awt.Image |
getImage()
Gets the Image attribute of the ImageRegion object
|
int |
getWidth()
Gets the Width attribute of 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()