Image.getPixel

Returns the color of the pixel at (x, y) 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 getPixelv, but two integer arguments instead of a Vector2 argument.

struct Image
@nogc nothrow const
Color
getPixel
(
in long x
,
in long y
)

Meta