Package | Description |
---|---|
com.sun.javafx.image | |
com.sun.javafx.image.impl | |
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 BytePixelGetter |
PixelUtils.getByteGetter(PixelFormat<ByteBuffer> pf) |
static <T extends Buffer> |
PixelUtils.getGetter(PixelFormat<T> pf) |
static IntPixelGetter |
PixelUtils.getIntGetter(PixelFormat<IntBuffer> pf) |
Modifier and Type | Method and Description |
---|---|
static BytePixelGetter |
ByteIndexed.createGetter(PixelFormat<ByteBuffer> pf) |
Modifier and Type | Method and Description |
---|---|
PixelFormat |
PlatformImage.getPlatformPixelFormat() |
Modifier and Type | Method and Description |
---|---|
int[] |
Toolkit.ImageAccessor.getNonPreColors(PixelFormat<ByteBuffer> pf) |
int[] |
Toolkit.ImageAccessor.getPreColors(PixelFormat<ByteBuffer> pf) |
void |
PlatformImage.setPixels(int x,
int y,
int w,
int h,
PixelFormat<ByteBuffer> pixelformat,
byte[] pixels,
int offset,
int scanlineBytes) |
void |
PlatformImage.setPixels(int x,
int y,
int w,
int h,
PixelFormat<IntBuffer> pixelformat,
int[] pixels,
int offset,
int scanlineInts) |
<T extends Buffer> |
PlatformImage.setPixels(int x,
int y,
int w,
int h,
PixelFormat<T> pixelformat,
T pixels,
int scanlineBytes) |
Modifier and Type | Method and Description |
---|---|
PixelFormat<?> |
Image.getPlatformPixelFormat() |
Modifier and Type | Method and Description |
---|---|
void |
Image.setPixels(int x,
int y,
int w,
int h,
PixelFormat<ByteBuffer> pixelformat,
byte[] pixels,
int offset,
int scanlineBytes) |
void |
Image.setPixels(int x,
int y,
int w,
int h,
PixelFormat<IntBuffer> pixelformat,
int[] pixels,
int offset,
int scanlineInts) |
<T extends Buffer> |
Image.setPixels(int x,
int y,
int w,
int h,
PixelFormat<T> pixelformat,
T pixels,
int scanlineBytes) |
Modifier and Type | Class and Description |
---|---|
class |
WritablePixelFormat<T extends Buffer>
A
PixelFormat object representing a pixel format that can store
full colors and so can be used as a destination format to write pixel
data from an arbitrary image. |
Modifier and Type | Method and Description |
---|---|
static PixelFormat<ByteBuffer> |
PixelFormat.createByteIndexedInstance(int[] colors)
Creates a
PixelFormat instance describing a pixel layout
with the pixels stored as single bytes representing an index
into the specified lookup table of non-premultiplied color
values in the INT_ARGB format. |
static PixelFormat<ByteBuffer> |
PixelFormat.createByteIndexedPremultipliedInstance(int[] colors)
Creates a
PixelFormat instance describing a pixel layout
with the pixels stored as single bytes representing an index
into the specified lookup table of premultiplied color
values in the INT_ARGB_PRE format. |
static PixelFormat<ByteBuffer> |
PixelFormat.getByteRgbInstance()
Returns a
PixelFormat instance describing a pixel
layout with the pixels stored in adjacent bytes with the
color components stored in order of increasing index:
red, green, blue. |
PixelFormat |
PixelWriter.getPixelFormat()
This method returns the
PixelFormat in which the surface
stores its pixels, or a roughly equivalent pixel format from which
it can easily convert pixels for purposes of writing them. |
PixelFormat |
PixelReader.getPixelFormat()
This method returns the
PixelFormat in which the surface
stores its pixels, or a roughly equivalent pixel format into which
it can easily convert its pixels for purposes of reading them. |
Modifier and Type | Method and Description |
---|---|
void |
PixelWriter.setPixels(int x,
int y,
int w,
int h,
PixelFormat<ByteBuffer> pixelformat,
byte[] buffer,
int offset,
int scanlineStride)
Stores pixel data from a byte array into a rectangular region of the
surface.
|
void |
PixelWriter.setPixels(int x,
int y,
int w,
int h,
PixelFormat<IntBuffer> pixelformat,
int[] buffer,
int offset,
int scanlineStride)
Stores pixel data from an int array into a rectangular region of the
surface.
|
<T extends Buffer> |
PixelWriter.setPixels(int x,
int y,
int w,
int h,
PixelFormat<T> pixelformat,
T buffer,
int scanlineStride)
Stores pixel data from a buffer into a rectangular region of the
surface.
|
Copyright © 2020. All rights reserved.