Uses of Class
javafx.scene.image.WritablePixelFormat
Package | Description |
---|---|
javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
-
Uses of WritablePixelFormat in javafx.scene.image
Methods in javafx.scene.image that return WritablePixelFormat Modifier and Type Method Description static WritablePixelFormat<ByteBuffer>
PixelFormat. getByteBgraInstance()
Returns aWritablePixelFormat
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 aWritablePixelFormat
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 aWritablePixelFormat
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 aWritablePixelFormat
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.Methods in javafx.scene.image with parameters of type WritablePixelFormat Modifier and Type Method 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>
voidPixelReader. 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.