magickGetImagePixelColor method

bool magickGetImagePixelColor({
  1. required int x,
  2. required int y,
  3. required PixelWand pixelWand,
})

MagickGetImagePixelColor() gets the color of the specified pixel.

  • x: the x offset.
  • y: the y offset.

Implementation

bool magickGetImagePixelColor({
  required int x,
  required int y,
  required PixelWand pixelWand,
}) =>
    _magickWandBindings.MagickGetImagePixelColor(
            _wandPtr, x, y, pixelWand._wandPtr)
        .toBool();