Renderer.fillRects

Wraps SDL_RenderFillRects which fills multiple rectangles with the renderer's draw color

  1. void fillRects(Rect[] rects)
    class Renderer
    @trusted
    void
    fillRects
    (
    const Rect[] rects
    )
  2. void fillRects(FRect[] rects)

Parameters

rects Rect[]

array of dsdl2.Rect of the rectangles

Throws

dsdl2.SDLException if rectangles failed to fill

Meta