Renderer.drawColor - multiple declarations
Function Renderer.drawColor
Wraps SDL_GetRenderDrawColor
which gets the draw color for the following draw calls
Returns
dsdl
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 dsdl as the renderer's current draw color |
Throws
dsdl
if failed to set the draw color