From 46d71ee2a15940fc3978d11d2db40b7a36430df4 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 15 Sep 2019 21:57:35 +0200 Subject: [PATCH] Improve the `Image.get_pixel()` and `Image.get_pixelv()` documentation --- doc/classes/Image.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 10be66feb86..56cafa9bb6b 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -252,7 +252,7 @@ - Returns the color of the pixel at [code](x, y)[/code] if the image is locked. If the image is unlocked it always returns a [Color] with the value [code](0, 0, 0, 1.0)[/code]. + Returns the color of the pixel at [code](x, y)[/code] if the image is locked. If the image is unlocked, it always returns a [Color] with the value [code](0, 0, 0, 1.0)[/code]. This is the same as [method get_pixelv], but two integer arguments instead of a Vector2 argument. @@ -261,6 +261,7 @@ + Returns the color of the pixel at [code]src[/code] if the image is locked. If the image is unlocked, it always returns a [Color] with the value [code](0, 0, 0, 1.0)[/code]. This is the same as [method get_pixel], but with a Vector2 argument instead of two integer arguments.