From 3ddcbd954da31b269695aa6926ed5f6853b2cf2f Mon Sep 17 00:00:00 2001 From: rxi Date: Mon, 16 Jun 2014 18:28:16 +0100 Subject: [PATCH] Fixed Image:setPixel()'s description in api.md --- doc/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api.md b/doc/api.md index bfa8f2e..ca76c1a 100644 --- a/doc/api.md +++ b/doc/api.md @@ -199,8 +199,8 @@ Returns the height in pixels of the image. Returns the color of the pixel at the position `x`, `y` of the image. If the position is outside of the image then 0 is returned. -##### Image:setPixel(x, y) -Sets the color of the pixel at the position `x`, `y` of the image. If the +##### Image:setPixel(x, y, color) +Sets the pixel of the image at the position `x`, `y` to `color`. If the position is outside of the image then no change is made. ##### Image:mapPixel(fn)