Package | Description |
---|---|
javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
Modifier and Type | Class and Description |
---|---|
class |
WritablePixelFormat<T extends java.nio.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 |
---|---|
(package private) static PixelFormat |
PixelFormat.IndexedPixelFormat.createByte(int[] colors,
boolean premult) |
static PixelFormat<java.nio.ByteBuffer> |
PixelFormat.createByteIndexedInstance(int[] colors) |
static PixelFormat<java.nio.ByteBuffer> |
PixelFormat.createByteIndexedPremultipliedInstance(int[] colors) |
static PixelFormat<java.nio.ByteBuffer> |
PixelFormat.getByteRgbInstance() |
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<java.nio.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<java.nio.IntBuffer> pixelformat,
int[] buffer,
int offset,
int scanlineStride)
Stores pixel data from an int array into a rectangular region of the
surface.
|
<T extends java.nio.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 (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.