public final class CURImageReader
extends com.twelvemonkeys.imageio.ImageReaderBase
ICOImageReaderavailableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales| Modifier | Constructor | Description |
|---|---|---|
|
CURImageReader() |
|
protected |
CURImageReader(ImageReaderSpi pProvider) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getHeight(int pImageIndex) |
|
Point |
getHotSpot(int pImageIndex) |
Returns the hot spot location for the cursor.
|
Iterator<ImageTypeSpecifier> |
getImageTypes(int pImageIndex) |
|
int |
getNumImages(boolean allowSearch) |
|
int |
getWidth(int pImageIndex) |
|
static void |
main(String[] pArgs) |
|
BufferedImage |
read(int pImageIndex,
ImageReadParam pParam) |
|
protected void |
resetMembers() |
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, getAspectRatio, getAvailableLocales, getDefaultReadParam, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, setInput, setInput, setLocalepublic CURImageReader()
protected CURImageReader(ImageReaderSpi pProvider)
public final Point getHotSpot(int pImageIndex) throws IOException
pImageIndex - the index of the cursor in the current input.IOException - if an I/O exception occurs during reading of image meta dataIndexOutOfBoundsException - if pImageIndex is less than 0 or greater than/equal to
the number of cursors in the fileprotected void resetMembers()
resetMembers in class com.twelvemonkeys.imageio.ImageReaderBasepublic Iterator<ImageTypeSpecifier> getImageTypes(int pImageIndex) throws IOException
getImageTypes in class ImageReaderIOExceptionpublic int getNumImages(boolean allowSearch)
throws IOException
getNumImages in class com.twelvemonkeys.imageio.ImageReaderBaseIOExceptionpublic int getWidth(int pImageIndex)
throws IOException
getWidth in class ImageReaderIOExceptionpublic int getHeight(int pImageIndex)
throws IOException
getHeight in class ImageReaderIOExceptionpublic BufferedImage read(int pImageIndex, ImageReadParam pParam) throws IOException
read in class ImageReaderIOExceptionpublic static void main(String[] pArgs) throws IOException
IOExceptionCopyright © 2018. All rights reserved.