Function Surface.setAt

Sets the pixel color in the dsdl2.Surface at the given coordinate

void setAt (
  uint[2] xy,
  Color color
) @safe;

Parameters

NameDescription
xy X and Y values of the coordinate
color pixel color to set at the given coordinate