Surface.setAt

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

class Surface
void
setAt
(
uint[2] xy
,)

Parameters

xy uint[2]

X and Y values of the coordinate

color Color

pixel color to set at the given coordinate

Meta