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.

struct Image
@nogc nothrow const
Color
getPixelv
(
in Vector2 src
)

Meta