| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public ImageFormatDescription | Returns: a description of the image format handled by this loader.Gets a description of the image format supported by this loader. |
| public ImageFrame | Returns: the image at the specified index ornull on error.the zero-relative index of the image to load. imageIndex, double the desired image width. If non-positive,
an width, double IllegalArgumentException will be thrown.the desired image height. If non-positive,
an height, boolean IllegalArgumentException will be thrown.whether to preserve the width-to-height ratio
of the image. preserveAspectRatio, boolean whether to use a smooth downscaling algorithm. smooth, float screen pixel scale (used for variable-density images) screenPixelScale, float image pixel scale (used for fixed-density images) imagePixelScale)Loads the image at a given index in an image stream. |
| public void | removeListener(ImageLoadListener
the listener to remove. listener)Removes a listener from the list of those monitoring this loader. |
| addListener | back to summary |
|---|---|
| public void addListener(ImageLoadListener listener) Adds a listener to monitor this loader.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Disposes of any resources (such as native libraries) held by this loader. Any further invocation of any methods on this object are undefined. | |
| getFormatDescription | back to summary |
|---|---|
| public ImageFormatDescription getFormatDescription() Gets a description of the image format supported by this loader.
| |
| load | back to summary |
|---|---|
| public ImageFrame load(int imageIndex, double width, double height, boolean preserveAspectRatio, boolean smooth, float screenPixelScale, float imagePixelScale) throws IOException Loads the image at a given index in an image stream. If no image exists
at that index
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(ImageLoadListener listener) Removes a listener from the list of those monitoring this loader.
| |