Package | Description |
---|---|
com.sun.javafx.image | |
com.sun.javafx.tk | |
com.sun.javafx.webkit.prism | |
com.sun.prism | |
javafx.embed.swing |
Provides the set of classes to use JavaFX inside Swing applications.
|
javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
Modifier and Type | Method and Description |
---|---|
static BytePixelSetter |
PixelUtils.getByteSetter(WritablePixelFormat<java.nio.ByteBuffer> pf) |
static IntPixelSetter |
PixelUtils.getIntSetter(WritablePixelFormat<java.nio.IntBuffer> pf) |
static <T extends java.nio.Buffer> |
PixelUtils.getSetter(WritablePixelFormat<T> pf) |
Modifier and Type | Method and Description |
---|---|
void |
PlatformImage.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] pixels,
int offset,
int scanlineBytes) |
void |
PlatformImage.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] pixels,
int offset,
int scanlineInts) |
<T extends java.nio.Buffer> |
PlatformImage.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<T> pixelformat,
T pixels,
int scanlineElems) |
Modifier and Type | Method and Description |
---|---|
private static WritablePixelFormat<java.nio.IntBuffer> |
PrismImage.getAssociatedPixelFormat(java.awt.image.BufferedImage bimg) |
Modifier and Type | Field and Description |
---|---|
(package private) static WritablePixelFormat<java.nio.ByteBuffer> |
Image.FX_ByteBgraPre_FORMAT |
(package private) static WritablePixelFormat<java.nio.IntBuffer> |
Image.FX_IntArgbPre_FORMAT |
Modifier and Type | Method and Description |
---|---|
void |
Image.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] pixels,
int offset,
int scanlineBytes) |
abstract void |
Image.Accessor.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] pixels,
int offset,
int scanlineBytes) |
void |
Image.ScaledAccessor.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] pixels,
int offset,
int scanlineBytes) |
void |
Image.ByteAccess.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] dstarr,
int dstoff,
int dstScanlineBytes) |
void |
Image.IntAccess.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] dstarr,
int dstoff,
int dstScanlineBytes) |
void |
Image.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] pixels,
int offset,
int scanlineInts) |
abstract void |
Image.Accessor.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] pixels,
int offset,
int scanlineInts) |
void |
Image.ScaledAccessor.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] pixels,
int offset,
int scanlineInts) |
void |
Image.ByteAccess.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] dstarr,
int dstoff,
int dstScanlineInts) |
void |
Image.IntAccess.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] dstarr,
int dstoff,
int dstScanlineInts) |
<T extends java.nio.Buffer> |
Image.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<T> pixelformat,
T pixels,
int scanlineBytes) |
abstract <T extends java.nio.Buffer> |
Image.Accessor.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<T> pixelformat,
T pixels,
int scanlineElems) |
<T extends java.nio.Buffer> |
Image.ScaledAccessor.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<T> pixelformat,
T pixels,
int scanlineElems) |
<T extends java.nio.Buffer> |
Image.BaseAccessor.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<T> pixelformat,
T dstbuf,
int dstScanlineElems) |
Modifier and Type | Method and Description |
---|---|
private static WritablePixelFormat<java.nio.IntBuffer> |
SwingFXUtils.getAssociatedPixelFormat(java.awt.image.BufferedImage bimg)
Determine the appropriate
WritablePixelFormat type that can
be used to transfer data into the indicated BufferedImage. |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
WritablePixelFormat.ByteBgra |
(package private) static class |
WritablePixelFormat.ByteBgraPre |
(package private) static class |
WritablePixelFormat.IntArgb |
(package private) static class |
WritablePixelFormat.IntArgbPre |
Modifier and Type | Method and Description |
---|---|
static WritablePixelFormat<java.nio.ByteBuffer> |
PixelFormat.getByteBgraInstance()
Returns a
WritablePixelFormat instance describing a pixel
layout with the pixels stored in adjacent bytes with the
non-premultiplied components stored in order of increasing index:
blue, green, red, alpha. |
static WritablePixelFormat<java.nio.ByteBuffer> |
PixelFormat.getByteBgraPreInstance()
Returns a
WritablePixelFormat instance describing a pixel
layout with the pixels stored in adjacent bytes with the
premultiplied components stored in order of increasing index:
blue, green, red, alpha. |
static WritablePixelFormat<java.nio.IntBuffer> |
PixelFormat.getIntArgbInstance()
Returns a
WritablePixelFormat instance describing a pixel
layout with the pixels stored in 32-bit integers with the
non-premultiplied components stored in order, from MSb to LSb:
alpha, red, green, blue. |
static WritablePixelFormat<java.nio.IntBuffer> |
PixelFormat.getIntArgbPreInstance()
Returns a
WritablePixelFormat instance describing a pixel
layout with the pixels stored in 32-bit integers with the
premultiplied components stored in order, from MSb to LSb:
alpha, red, green, blue. |
Modifier and Type | Method and Description |
---|---|
void |
PixelReader.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] buffer,
int offset,
int scanlineStride)
Reads pixel data from a rectangular region of the surface into the
specified byte array.
|
void |
PixelReader.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] buffer,
int offset,
int scanlineStride)
Reads pixel data from a rectangular region of the surface into the
specified int array.
|
<T extends java.nio.Buffer> |
PixelReader.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<T> pixelformat,
T buffer,
int scanlineStride)
Reads pixel data from a rectangular region of the surface into the
specified buffer.
|