Renderer.fillRect

Wraps SDL_RenderFillRect which fills a rectangle with the renderer's draw color

  1. void fillRect(Rect rect)
    class Renderer
    @trusted
    void
    fillRect
  2. void fillRect(FRect rect)

Parameters

rect Rect

dsdl2.Rect of the rectangle

Throws

dsdl2.SDLException if rectangle failed to fill

Meta