Package | Description |
---|---|
com.sun.javafx.image | |
com.sun.javafx.tk | |
com.sun.prism | |
javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
Modifier and Type | Method and Description |
---|---|
static BytePixelSetter |
PixelUtils.getByteSetter(WritablePixelFormat<ByteBuffer> pf) |
static IntPixelSetter |
PixelUtils.getIntSetter(WritablePixelFormat<IntBuffer> pf) |
static <T extends Buffer> |
PixelUtils.getSetter(WritablePixelFormat<T> pf) |
Modifier and Type | Method and Description |
---|---|
void |
PlatformImage.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<ByteBuffer> pixelformat,
byte[] pixels,
int offset,
int scanlineBytes) |
void |
PlatformImage.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<IntBuffer> pixelformat,
int[] pixels,
int offset,
int scanlineInts) |
<T extends Buffer> |
PlatformImage.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<T> pixelformat,
T pixels,
int scanlineElems) |
Modifier and Type | Method and Description |
---|---|
void |
Image.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<ByteBuffer> pixelformat,
byte[] pixels,
int offset,
int scanlineBytes) |
void |
Image.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<IntBuffer> pixelformat,
int[] pixels,
int offset,
int scanlineInts) |
<T extends Buffer> |
Image.getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<T> pixelformat,
T pixels,
int scanlineBytes) |
Modifier and Type | Method and Description |
---|---|
static WritablePixelFormat<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<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<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<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<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<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 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.
|
Copyright © 2020. All rights reserved.