Uses of Class
javafx.scene.image.PixelFormat
Packages that use PixelFormat
-
Uses of PixelFormat in dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html
Methods in dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html that return PixelFormatModifier and TypeMethodDescriptionImageDataPixelReader.getPixelFormat()ImageDataPixelWriter.getPixelFormat() -
Uses of PixelFormat in javafx.scene.image
Subclasses of PixelFormat in javafx.scene.imageModifier and TypeClassDescriptionclassWritablePixelFormat<T extends Buffer>APixelFormatobject 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.Methods in javafx.scene.image that return PixelFormatModifier and TypeMethodDescriptionstatic PixelFormat<ByteBuffer>PixelFormat.createByteIndexedInstance(int[] colors) Creates aPixelFormatinstance 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 theINT_ARGBformat.static PixelFormat<ByteBuffer>PixelFormat.createByteIndexedPremultipliedInstance(int[] colors) Creates aPixelFormatinstance describing a pixel layout with the pixels stored as single bytes representing an index into the specified lookup table of premultiplied color values in theINT_ARGB_PREformat.static PixelFormat<ByteBuffer>PixelFormat.getByteRgbInstance()Returns aPixelFormatinstance describing a pixel layout with the pixels stored in adjacent bytes with the color components stored in order of increasing index: red, green, blue.AbstractPixelWriter.getPixelFormat()PixelReader.getPixelFormat()This method returns thePixelFormatin 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.PixelWriter.getPixelFormat()This method returns thePixelFormatin which the surface stores its pixels, or a roughly equivalent pixel format from which it can easily convert pixels for purposes of writing them.Methods in javafx.scene.image with parameters of type PixelFormatModifier and TypeMethodDescriptionvoidAbstractPixelWriter.setPixels(int x, int y, int w, int h, PixelFormat<ByteBuffer> pixelformat, byte[] buffer, int offset, int scanlineStride) voidAbstractPixelWriter.setPixels(int x, int y, int w, int h, PixelFormat<IntBuffer> pixelformat, int[] buffer, int offset, int scanlineStride) <T extends Buffer>
voidAbstractPixelWriter.setPixels(int x, int y, int w, int h, PixelFormat<T> pixelformat, T buffer, int scanlineStride) voidPixelWriter.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.voidPixelWriter.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>
voidPixelWriter.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.