summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-24 16:34:01 +0100
committerGitHub <noreply@github.com>2021-11-24 16:34:01 +0100
commitb1bf82d2b4be775e4d10b571d9c21aa25265b32c (patch)
treebe24406bac67ed5f069a30ce0c11358537f295b8 /doc
parentda25843b402e7da87dea935945bbd4a8fc10a1fc (diff)
parent92ca300ab17faa044b92d753a05a71f892d7bede (diff)
Merge pull request #52456 from kleonc/image-fill-rect
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Image.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index d2b1b5c004..8a4bbee0fa 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -154,7 +154,15 @@
<return type="void" />
<argument index="0" name="color" type="Color" />
<description>
- Fills the image with a given [Color].
+ Fills the image with [code]color[/code].
+ </description>
+ </method>
+ <method name="fill_rect">
+ <return type="void" />
+ <argument index="0" name="rect" type="Rect2" />
+ <argument index="1" name="color" type="Color" />
+ <description>
+ Fills [code]rect[/code] with [code]color[/code].
</description>
</method>
<method name="fix_alpha_edges">