Renderer.drawRect

Wraps SDL_RenderDrawRect which draws a rectangle's edges with the renderer's draw color

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

Parameters

rect Rect

dsdl2.Rect of the rectangle

Throws

dsdl2.SDLException if rectangle failed to draw

Meta