The OpenD Programming Language

MemoryImage.getPixel

Get image pixel. Slow, but returns valid RGBA color (completely transparent for off-image pixels).

interface MemoryImage
const pure nothrow @safe @nogc
getPixel
(
int x
,
int y
)

Meta