You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Improve the Image.get_pixel() and Image.get_pixelv() documentation
This commit is contained in:
@@ -252,7 +252,7 @@
|
||||
<argument index="1" name="y" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
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.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_pixelv" qualifiers="const">
|
||||
@@ -261,6 +261,7 @@
|
||||
<argument index="0" name="src" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
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.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_rect" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user