APIdia Launch Partner
Top Constructors Methods
com.sun.javafx.webkit.prism

pack-priv abstract Class PrismImage

extends WCImage
Class Inheritance
Known Direct Subclasses
com.sun.javafx.webkit.prism.RTImage, com.sun.javafx.webkit.prism.WCImageImpl
Imports
java.awt.image.BufferedImage, .DataBufferInt, .SampleModel, .SinglePixelPackedSampleModel, java.io.ByteArrayOutputStream, .IOException, java.nio.IntBuffer, java.util.Base64, .Iterator, javafx.scene.image.PixelFormat, .WritablePixelFormat, javax.imageio.ImageIO, .ImageWriter, com.sun.prism.Graphics, .Image, com.sun.webkit.graphics.WCImage

Author
Alexey.Ushakov

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public synchronized void
pack-priv abstract void
pack-priv abstract void
draw(Graphics g, int dstx1, int dsty1, int dstx2, int dsty2, int srcx1, int srcy1, int srcx2, int srcy2)

private static BufferedImage
fromFXImage(Image img, boolean forceRGB)

private static WritablePixelFormat<IntBuffer>
private static int
pack-priv abstract Graphics
pack-priv abstract Image
public Object
private BufferedImage
toBufferedImage(boolean forceRGB)

public BufferedImage
protected final byte[]
protected final String
Inherited from com.sun.webkit.graphics.WCImage:
drawPixelBufferflushRQgetFileExtensiongetHeightgetImagegetPixelBuffergetPixelScalegetWidthisDirtyisNullsetFileExtensionsetRQ

Constructor Detail

PrismImageback to summary
pack-priv PrismImage()

Method Detail

derefback to summary
public synchronized void deref()

Overrides com.sun.webkit.graphics.Ref.deref.

Annotations
@Override
disposeback to summary
pack-priv abstract void dispose()
drawback to summary
pack-priv abstract void draw(Graphics g, int dstx1, int dsty1, int dstx2, int dsty2, int srcx1, int srcy1, int srcx2, int srcy2)
fromFXImageback to summary
private static BufferedImage fromFXImage(Image img, boolean forceRGB)
getAssociatedPixelFormatback to summary
private static WritablePixelFormat<IntBuffer> getAssociatedPixelFormat(BufferedImage bimg)
getBestBufferedImageTypeback to summary
private static int getBestBufferedImageType(PixelFormat<?> fxFormat)
getGraphicsback to summary
pack-priv abstract Graphics getGraphics()
getImageback to summary
pack-priv abstract Image getImage()
getPlatformImageback to summary
public Object getPlatformImage()

Overrides com.sun.webkit.graphics.WCImage.getPlatformImage.

Annotations
@Override
toBufferedImageback to summary
private BufferedImage toBufferedImage(boolean forceRGB)
toBufferedImageback to summary
public BufferedImage toBufferedImage()

Implements abstract com.sun.webkit.graphics.WCImage.toBufferedImage.

Annotations
@Override
toDataback to summary
protected final byte[] toData(String mimeType)

Implements abstract com.sun.webkit.graphics.WCImage.toData.

Annotations
@Override
toDataURLback to summary
protected final String toDataURL(String mimeType)

Implements abstract com.sun.webkit.graphics.WCImage.toDataURL.

Annotations
@Override