Renderer.drawColor

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

  1. Color drawColor()
  2. void drawColor(Color newColor)
    class Renderer
    @property @trusted
    void
    drawColor

Parameters

newColor Color

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

Throws

dsdl2.SDLException if failed to set the draw color

Meta