static class QuantumToolkit.QuantumImage extends java.lang.Object implements ImageLoader, ResourceFactoryListener
| Modifier and Type | Field and Description |
|---|---|
private Image |
image |
private ResourceFactory |
rf |
private RTTexture |
rt |
| Constructor and Description |
|---|
QuantumImage(Image image) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
dispose() |
void |
factoryReleased()
Called when the factory is released.
|
void |
factoryReset()
Called when the factory is lost and about to be reset.
|
java.lang.Exception |
getException() |
PlatformImage |
getFrame(int index) |
int |
getFrameCount() |
int |
getFrameDelay(int index) |
int |
getHeight() |
int |
getLoopCount() |
(package private) RTTexture |
getRT(int w,
int h,
ResourceFactory rfNew) |
int |
getWidth() |
(package private) void |
setImage(Image img) |
private RTTexture rt
private Image image
private ResourceFactory rf
QuantumImage(Image image)
RTTexture getRT(int w, int h, ResourceFactory rfNew)
void dispose()
void setImage(Image img)
public java.lang.Exception getException()
getException in interface ImageLoaderpublic int getFrameCount()
getFrameCount in interface ImageLoaderpublic PlatformImage getFrame(int index)
getFrame in interface ImageLoaderpublic int getFrameDelay(int index)
getFrameDelay in interface ImageLoaderpublic int getLoopCount()
getLoopCount in interface ImageLoaderpublic int getWidth()
getWidth in interface ImageLoaderpublic int getHeight()
getHeight in interface ImageLoaderpublic void factoryReset()
ResourceFactoryListenerfactoryReset in interface ResourceFactoryListenerpublic void factoryReleased()
ResourceFactoryListenerfactoryReleased in interface ResourceFactoryListener