Class CURImageReader


public final class CURImageReader extends DIBImageReader
ImageReader for Microsoft Windows CUR (cursor) format.
Version:
$Id: CURImageReader.java,v 1.0 Apr 20, 2009 11:54:28 AM haraldk Exp$
See Also:
  • Constructor Details

    • CURImageReader

      public CURImageReader()
    • CURImageReader

      CURImageReader(ImageReaderSpi provider)
  • Method Details

    • getHotSpot

      public Point getHotSpot(int imageIndex) throws IOException
      Returns the hot spot location for the cursor.
      Parameters:
      imageIndex - the index of the cursor in the current input.
      Returns:
      the hot spot location for the cursor
      Throws:
      IOException - if an I/O exception occurs during reading of image meta data
      IndexOutOfBoundsException - if pImageIndex is less than 0 or greater than/equal to the number of cursors in the file