Renderer.drawRect - multiple declarations
Function Renderer.drawRect
Wraps SDL_RenderDrawRect
which draws a rectangle's edges with the renderer's draw color
Parameters
Name | Description |
---|---|
rect | dsdl2 of the rectangle |
Throws
dsdl2
if rectangle failed to draw
Function Renderer.drawRect
Wraps SDL_RenderDrawRectF
(from SDL 2.0.10) which draws a rectangle's edges with the renderer's draw color
Parameters
Name | Description |
---|---|
rect | dsdl2 of the rectangle |
Throws
dsdl2
if rectangle failed to draw