Renderer.drawRects - multiple declarations
Function Renderer.drawRects
Wraps SDL_RenderDrawRects
which draws multiple rectangles' edges with the renderer's draw color
Parameters
Name | Description |
---|---|
rects | array of dsdl2 of the rectangles |
Throws
dsdl2
if rectangles failed to draw
Function Renderer.drawRects
Wraps SDL_RenderDrawRectsF
(from SDL 2.0.10) which draws multiple rectangles' edges with the renderer's
draw color
Parameters
Name | Description |
---|---|
rects | array of dsdl2 of the rectangles |
Throws
dsdl2
if rectangles failed to draw