The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
MemoryImage.getPixel
arsd
color
MemoryImage
Get image pixel. Slow, but returns valid RGBA color (completely transparent for off-image pixels).
interface
MemoryImage
const pure nothrow @
safe
@
nogc
Color
getPixel
(
int
x
,
int
y
)
arsd
color
MemoryImage
aliases
fromImageFile
functions
clone
getAsTrueColorImage
getPixel
height
setPixel
width
static functions
fromImage
Suggestion Box / Bug Report
Get image pixel. Slow, but returns valid RGBA color (completely transparent for off-image pixels).