com.l2fprod.gui.region
Class ImageRegion
java.lang.Object
|
+--com.l2fprod.gui.region.Region
|
+--com.l2fprod.gui.region.ImageRegion
- public class ImageRegion
- extends Region
Created on 21/12/2000 by Frederic Lavigne, fred@L2FProd.com
- Version:
- $Revision: 1.3 $, $Date: 2002/04/27 09:43:35 $
Constructor Summary |
ImageRegion(java.awt.Image img)
Constructor for the ImageRegion object |
ImageRegion(java.awt.Image img,
int width,
int height)
Constructor for the ImageRegion object |
Method Summary |
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 |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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
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
Copyright © 2000-2002 L2FProd.com. All Rights Reserved.