Renderer.fillRects

Wraps SDL_RenderFillRectsF (from SDL 2.0.10) which fills multiple rectangles with the renderer's draw color

  1. void fillRects(Rect[] rects)
  2. void fillRects(FRect[] rects)
    class Renderer
    @trusted
    static if(sdlSupport >= SDLSupport.v2_0_10)
    void
    fillRects
    (
    const FRect[] rects
    )

Parameters

rects FRect[]

array of dsdl2.FRect of the rectangles

Throws

dsdl2.SDLException if rectangles failed to fill

Meta