summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkleonc <9283098+kleonc@users.noreply.github.com>2021-09-07 10:27:32 +0200
committerkleonc <9283098+kleonc@users.noreply.github.com>2021-11-23 18:06:23 +0100
commit91595b16e3e1f60bdc80c3268cadfc5c00470a7b (patch)
tree28aba73b87c553df2f3e3006b1a3098e0bfcd3eb /doc
parent7b0458c18f21cebc5ab1e6739e30e8ed36f0273f (diff)
Add Image::fill_rect method
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">