Class 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 object
      ImageRegion​(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 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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 Parameter
        width - Description of Parameter
        height - 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