abstract class PrismImage extends WCImage
Constructor and Description |
---|
PrismImage() |
Modifier and Type | Method and Description |
---|---|
void |
deref() |
(package private) abstract void |
dispose() |
(package private) abstract void |
draw(Graphics g,
int dstx1,
int dsty1,
int dstx2,
int dsty2,
int srcx1,
int srcy1,
int srcx2,
int srcy2) |
private static java.awt.image.BufferedImage |
fromFXImage(Image img,
boolean forceRGB) |
private static WritablePixelFormat<java.nio.IntBuffer> |
getAssociatedPixelFormat(java.awt.image.BufferedImage bimg) |
private static int |
getBestBufferedImageType(PixelFormat<?> fxFormat) |
(package private) abstract Graphics |
getGraphics() |
(package private) abstract Image |
getImage() |
java.lang.Object |
getPlatformImage() |
java.awt.image.BufferedImage |
toBufferedImage() |
private java.awt.image.BufferedImage |
toBufferedImage(boolean forceRGB) |
protected byte[] |
toData(java.lang.String mimeType) |
protected java.lang.String |
toDataURL(java.lang.String mimeType) |
drawPixelBuffer, flushRQ, getFileExtension, getHeight, getImage, getPixelBuffer, getPixelScale, getWidth, isDirty, isNull, setFileExtension, setRQ
abstract Image getImage()
abstract Graphics getGraphics()
abstract void draw(Graphics g, int dstx1, int dsty1, int dstx2, int dsty2, int srcx1, int srcy1, int srcx2, int srcy2)
abstract void dispose()
public java.lang.Object getPlatformImage()
getPlatformImage
in class WCImage
protected final byte[] toData(java.lang.String mimeType)
protected final java.lang.String toDataURL(java.lang.String mimeType)
private static int getBestBufferedImageType(PixelFormat<?> fxFormat)
private static WritablePixelFormat<java.nio.IntBuffer> getAssociatedPixelFormat(java.awt.image.BufferedImage bimg)
private static java.awt.image.BufferedImage fromFXImage(Image img, boolean forceRGB)
private java.awt.image.BufferedImage toBufferedImage(boolean forceRGB)
public java.awt.image.BufferedImage toBufferedImage()
toBufferedImage
in class WCImage