Renderer.drawLine - multiple declarations
Function Renderer.drawLine
Wraps SDL_RenderDrawLine
which draws a line between two points with the renderer's draw color
Parameters
Name | Description |
---|---|
line | array of two dsdl2 s indicating the line's start and end |
Throws
dsdl2
if line failed to draw
Function Renderer.drawLine
Wraps SDL_RenderDrawLineF
(from SDL 2.0.10) which draws a line between two points with the renderer's draw
color
Parameters
Name | Description |
---|---|
line | array of two dsdl2 s indicating the line's start and end |
Throws
dsdl2
if line failed to draw