final class WCImageImpl extends PrismImage
Modifier and Type | Field and Description |
---|---|
private CompoundTexture |
compoundTexture |
private Image |
img |
private static java.util.logging.Logger |
log |
private Texture |
texture |
Constructor and Description |
---|
WCImageImpl(ImageFrame frame) |
WCImageImpl(int[] buffer,
int w,
int h) |
WCImageImpl(int w,
int h) |
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) |
(package private) Graphics |
getGraphics() |
int |
getHeight() |
(package private) Image |
getImage() |
java.nio.ByteBuffer |
getPixelBuffer() |
float |
getPixelScale() |
int |
getWidth() |
deref, getPlatformImage, toBufferedImage, toData, toDataURL
drawPixelBuffer, flushRQ, getFileExtension, getImage, isDirty, isNull, setFileExtension, setRQ
private static final java.util.logging.Logger log
private final Image img
private Texture texture
private CompoundTexture compoundTexture
WCImageImpl(int w, int h)
WCImageImpl(int[] buffer, int w, int h)
WCImageImpl(ImageFrame frame)
Image getImage()
getImage
in class PrismImage
Graphics getGraphics()
getGraphics
in class PrismImage
void draw(Graphics g, int dstx1, int dsty1, int dstx2, int dsty2, int srcx1, int srcy1, int srcx2, int srcy2)
draw
in class PrismImage
void dispose()
dispose
in class PrismImage
public java.nio.ByteBuffer getPixelBuffer()
getPixelBuffer
in class WCImage
public float getPixelScale()
getPixelScale
in class WCImage