Example usage for Java javafx.scene.image PixelReader fields, constructors, methods, implement or subclass
The text is from its open source code.
Color | getColor(int x, int y) Reads the color of a pixel from the specified coordinates in the surface and returns the value as a Color object. |
PixelFormat | 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. |
void | getPixels(int x, int y, int w, int h, WritablePixelFormat Reads pixel data from a rectangular region of the surface into the specified byte array. |
void | getPixels(int x, int y, int w, int h, WritablePixelFormat Reads pixel data from a rectangular region of the surface into the specified int array. |