pixelperfectengine v0.10.0-beta.1 (2021-05-16T17:51:01Z)
Dub
Repo
Bitmap.readPixel
PixelPerfectEngine
graphics
bitmap
Bitmap
Returns the pixel at the given position.
T
readPixel
(int x, int y)
ubyte
readPixel
(int x, int y)
bool
readPixel
(int x, int y)
class
Bitmap
(string S, T)
@
nogc
@
trusted
pure
static if
(!(
S != "HB" && S != "QB" && S != "b"
))
static if
(!(
S == "HB"
))
static if
(
S == "b"
)
bool
readPixel
(
int
x
,
int
y
)
Meta
Source
See Implementation
PixelPerfectEngine
graphics
bitmap
Bitmap
constructors
this
functions
clear
getBasicCollisionShape
getPtr
offsetIndexes
readPixel
resize
window
writePixel
properties
wordLengthByString
variables
invertHoriz
invertVert
pitch
pixelAccess
pixels
Returns the pixel at the given position.