Surface.getPixelAt

Gets the pixel value in the dsdl2.Surface at the given coordinate

class Surface
const @trusted
uint
getPixelAt
(
uint[2] xy
)

Parameters

xy uint[2]

X and Y values of the coordinate

Return Value

Type: uint

the pixel value

Meta