From 6ec66adf57f08a6967b25c0c41f52d7bb0a581d5 Mon Sep 17 00:00:00 2001 From: rxi Date: Thu, 22 Sep 2016 19:56:49 +0100 Subject: [PATCH] Updated doc/api.md for setColor/setBackgroundColor --- doc/api.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/api.md b/doc/api.md index 934a411..499107d 100644 --- a/doc/api.md +++ b/doc/api.md @@ -48,17 +48,15 @@ Returns the height of the screen in pixels. ##### love.graphics.getBackgroundColor() Returns the currently set background color. -##### love.graphics.setBackgroundColor([color]) +##### love.graphics.setBackgroundColor([red [, green [, blue]]]) Sets the the background color used when `love.graphics.clear()` is called -without any arguments. If no `color` argument is passed to the function then -the background color is reset to the default. +without any arguments. ##### love.graphics.getColor() Returns the currently set color. -##### love.graphics.setColor([color]) -Sets the the color used when drawing. If no `color` argument is passed to the -function then the color is reset to the default. +##### love.graphics.setColor([red [, green [, blue]]]) +Sets the the color used when drawing. ##### love.graphics.getBlendMode() Returns the currently set blend mode.