Documentation of 'org.encog.util.ImageSize' Java class
ImageSize
org.encog.util

Class ImageSize

  • All Implemented Interfaces:
    java.awt.image.ImageObserver


    public class ImageSize
    extends java.lang.Object
    implements java.awt.image.ImageObserver
    Simple class to determine the size of an image.
    • Field Summary

      • Fields inherited from interface java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
    • Constructor Summary

      Constructors 
      Constructor and Description
      ImageSize(java.awt.Image image)
      Determine the size of an image.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getHeight() 
      int getWidth() 
      boolean imageUpdate(java.awt.Image img, int infoflags, int x, int y, int width, int height)
      The image has been updated.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageSize

        public ImageSize(java.awt.Image image)
        Determine the size of an image.
        Parameters:
        image - The image to be sized.
    • Method Detail

      • getHeight

        public int getHeight()
        Returns:
        the height
      • getWidth

        public int getWidth()
        Returns:
        the width
      • imageUpdate

        public boolean imageUpdate(java.awt.Image img,
                                   int infoflags,
                                   int x,
                                   int y,
                                   int width,
                                   int height)
        The image has been updated.
        Specified by:
        imageUpdate in interface java.awt.image.ImageObserver
        Parameters:
        img - The image.
        infoflags - Which data has been loaded.
        x - Not used.
        y - Not used.
        width - The width of the image.
        height - The height of the image.
        Returns:
        True if more data is still needed.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.