Renderer.drawColor - multiple declarations

Function Renderer.drawColor

Wraps SDL_GetRenderDrawColor which gets the draw color for the following draw calls

Color drawColor() @property @trusted const;

Returns

dsdl2.Color of the renderer's current draw color

Function Renderer.drawColor

Wraps SDL_SetRenderDrawColor which sets the draw color for the following draw calls

void drawColor (
  Color newColor
) @property @trusted;

Parameters

NameDescription
newColor new dsdl2.Color as the renderer's current draw color

Throws

dsdl2.SDLException if failed to set the draw color