Renderer.drawColor - multiple declarations
Function Renderer.drawColor
Wraps SDL_GetRenderDrawColor
which gets the draw color for the following draw calls
Returns
dsdl2
of the renderer's current draw color
Function Renderer.drawColor
Wraps SDL_SetRenderDrawColor
which sets the draw color for the following draw calls
Parameters
Name | Description |
---|---|
newColor | new dsdl2 as the renderer's current draw color |
Throws
dsdl2
if failed to set the draw color