Function Image.getPixelv

Returns the color of the pixel at src if the image is locked. If the image is unlocked, it always returns a Color with the value (0, 0, 0, 1.0). This is the same as getPixel, but with a Vector2 argument instead of two integer arguments.

Color getPixelv (
  const(Vector2) src
) nothrow @nogc const;