Package | Description |
---|---|
javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
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 (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.