Uses of Interface
javafx.scene.image.PixelReader
Package | Description |
---|---|
javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
-
Uses of PixelReader in javafx.scene.image
Methods in javafx.scene.image that return PixelReader Modifier and Type Method Description PixelReader
Image. getPixelReader()
This method returns aPixelReader
that provides access to read the pixels of the image, if the image is readable.Methods in javafx.scene.image with parameters of type PixelReader Modifier and Type Method Description void
PixelWriter. setPixels(int dstx, int dsty, int w, int h, PixelReader reader, int srcx, int srcy)
Stores pixel data retrieved from aPixelReader
instance into a rectangular region of the surface.Constructors in javafx.scene.image with parameters of type PixelReader Constructor Description WritableImage(PixelReader reader, int width, int height)
Constructs an image of the specified dimensions, initialized from the indicatedPixelReader
.WritableImage(PixelReader reader, int x, int y, int width, int height)
Constructs an image of the specified dimensions, initialized from the indicated region of thePixelReader
.