Surface.fill

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

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

Parameters

pixel uint

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

Meta