Package com.l2fprod.gui.region
Class ImageRegion
- java.lang.Object
-
- com.l2fprod.gui.region.Region
-
- com.l2fprod.gui.region.ImageRegion
-
public final class ImageRegion extends Region
Created on 21/12/2000 by Frederic Lavigne, fred@L2FProd.com- Version:
- $Revision: 1.2 $, $Date: 2003/12/06 21:51:20 $
- Author:
- $Author: l2fprod $
-
-
Constructor Summary
Constructors Constructor Description ImageRegion(java.awt.Image img)
Constructor for the ImageRegion objectImageRegion(java.awt.Image img, int width, int height)
Constructor for the ImageRegion object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
Gets the Height attribute of the ImageRegion objectjava.awt.Image
getImage()
Gets the Image attribute of the ImageRegion objectint
getWidth()
Gets the Width attribute of the ImageRegion object
-
-
-
Constructor Detail
-
ImageRegion
public ImageRegion(java.awt.Image img)
Constructor for the ImageRegion object- Parameters:
img
- Description of Parameter
-
ImageRegion
public ImageRegion(java.awt.Image img, int width, int height)
Constructor for the ImageRegion object- Parameters:
img
- Description of Parameterwidth
- Description of Parameterheight
- Description of Parameter
-
-
Method Detail
-
getImage
public java.awt.Image getImage()
Gets the Image attribute of the ImageRegion object- Returns:
- The Image value
-
getWidth
public int getWidth()
Gets the Width attribute of the ImageRegion object- Returns:
- The Width value
-
getHeight
public int getHeight()
Gets the Height attribute of the ImageRegion object- Returns:
- The Height value
-
-