final class RTImage extends PrismImage implements ResourceFactoryListener
| Modifier and Type | Field and Description |
|---|---|
private int |
height |
private boolean |
listenerAdded |
private java.nio.ByteBuffer |
pixelBuffer |
private float |
pixelScale |
private RTTexture |
txt |
private int |
width |
| Constructor and Description |
|---|
RTImage(int w,
int h,
float pixelScale) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
dispose() |
(package private) void |
draw(Graphics g,
int dstx1,
int dsty1,
int dstx2,
int dsty2,
int srcx1,
int srcy1,
int srcx2,
int srcy2) |
protected void |
drawPixelBuffer() |
void |
factoryReleased()
Called when the factory is released.
|
void |
factoryReset()
Called when the factory is lost and about to be reset.
|
(package private) Graphics |
getGraphics() |
int |
getHeight() |
(package private) Image |
getImage() |
java.nio.ByteBuffer |
getPixelBuffer() |
float |
getPixelScale() |
private RTTexture |
getTexture() |
int |
getWidth() |
deref, getPlatformImage, toBufferedImage, toData, toDataURLflushRQ, getFileExtension, getImage, isDirty, isNull, setFileExtension, setRQprivate RTTexture txt
private final int width
private final int height
private boolean listenerAdded
private java.nio.ByteBuffer pixelBuffer
private float pixelScale
Image getImage()
getImage in class PrismImageGraphics getGraphics()
getGraphics in class PrismImageprivate RTTexture getTexture()
void draw(Graphics g, int dstx1, int dsty1, int dstx2, int dsty2, int srcx1, int srcy1, int srcx2, int srcy2)
draw in class PrismImagevoid dispose()
dispose in class PrismImagepublic java.nio.ByteBuffer getPixelBuffer()
getPixelBuffer in class WCImageprotected void drawPixelBuffer()
drawPixelBuffer in class WCImagepublic void factoryReset()
ResourceFactoryListenerfactoryReset in interface ResourceFactoryListenerpublic void factoryReleased()
ResourceFactoryListenerfactoryReleased in interface ResourceFactoryListenerpublic float getPixelScale()
getPixelScale in class WCImage