Function Surface.getPixelAt

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

uint getPixelAt (
  uint[2] xy
) @trusted const;

Parameters

NameDescription
xy X and Y values of the coordinate

Returns

the pixel value