Surface.fill

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

  1. void fill(uint pixel)
  2. void fill(Color color)
    class Surface
    @trusted
    void
    fill

Parameters

color Color

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

Meta