public final class CURImageReader
extends com.twelvemonkeys.imageio.ImageReaderBase
ICOImageReader
availableLocales, 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, setLocale
public 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.ImageReaderBase
public Iterator<ImageTypeSpecifier> getImageTypes(int pImageIndex) throws IOException
getImageTypes
in class ImageReader
IOException
public int getNumImages(boolean allowSearch) throws IOException
getNumImages
in class com.twelvemonkeys.imageio.ImageReaderBase
IOException
public int getWidth(int pImageIndex) throws IOException
getWidth
in class ImageReader
IOException
public int getHeight(int pImageIndex) throws IOException
getHeight
in class ImageReader
IOException
public BufferedImage read(int pImageIndex, ImageReadParam pParam) throws IOException
read
in class ImageReader
IOException
public static void main(String[] pArgs) throws IOException
IOException
Copyright © 2018. All rights reserved.