## Uses of Interface
javafx.scene.image.PixelReader

- Packages that use 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 and Description
    --- | ---
    `PixelReader` | Image.`getPixelReader()` This method returns a `PixelReader` 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 and Description
    --- | ---
    `void` | PixelWriter.`setPixels(int dstx, int dsty, int w, int h, PixelReader reader, int srcx, int srcy)` Stores pixel data retrieved from a `PixelReader` instance into a rectangular region of the surface.

    Constructors in javafx.scene.image with parameters of type PixelReader
    Constructor and Description
    `WritableImage(PixelReader reader, int width, int height)` Construct an image of the specified dimensions, initialized from the indicated `PixelReader`.
    `WritableImage(PixelReader reader, int x, int y, int width, int height)` Construct an image of the specified dimensions, initialized from the indicated region of the `PixelReader`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.