getRange method

Iterator<Pixel> getRange(
  1. int x,
  2. int y,
  3. int width,
  4. int height,
)

Returns a pixel iterator for iterating over a rectangular range of pixels in the image.

Implementation

Iterator<Pixel> getRange(int x, int y, int width, int height) =>
    data!.getRange(x, y, width, height);