Surface.fill - multiple declarations

Function Surface.fill

Acts as SDL_FillRect(surface, NULL) which fills the entire dsdl2.Surface with a pixel value

void fill (
  uint pixel
) @trusted;

Parameters

NameDescription
pixel pixel value of the color to fill the entire dsdl2.Surface

Function Surface.fill

Acts as SDL_FillRect(surface, NULL) which fills the entire dsdl2.Surface with a dsdl2.Color value

void fill (
  Color color
) @trusted;

Parameters

NameDescription
color dsdl2.Color of the color to fill the entire dsdl2.Surface