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 Details

    • ImageRegion

      public ImageRegion(Image img)
      Constructor for the ImageRegion object
      Parameters:
      img - Description of Parameter
    • ImageRegion

      public ImageRegion(Image img, int width, int height)
      Constructor for the ImageRegion object
      Parameters:
      img - Description of Parameter
      width - Description of Parameter
      height - Description of Parameter
  • Method Details

    • getImage

      public 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