summaryrefslogtreecommitdiff
path: root/doc/classes/Rect2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Rect2.xml')
-rw-r--r--doc/classes/Rect2.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml
index e6c8ff86b6..e585224818 100644
--- a/doc/classes/Rect2.xml
+++ b/doc/classes/Rect2.xml
@@ -78,6 +78,12 @@
Returns the area of the [Rect2].
</description>
</method>
+ <method name="get_center" qualifiers="const">
+ <return type="Vector2" />
+ <description>
+ Returns the center of the [Rect2], which is equal to [member position] + ([member size] / 2).
+ </description>
+ </method>
<method name="grow" qualifiers="const">
<return type="Rect2" />
<argument index="0" name="amount" type="float" />
@@ -149,6 +155,11 @@
</method>
<method name="operator !=" qualifiers="operator">
<return type="bool" />
+ <description>
+ </description>
+ </method>
+ <method name="operator !=" qualifiers="operator">
+ <return type="bool" />
<argument index="0" name="right" type="Rect2" />
<description>
</description>
@@ -161,6 +172,11 @@
</method>
<method name="operator ==" qualifiers="operator">
<return type="bool" />
+ <description>
+ </description>
+ </method>
+ <method name="operator ==" qualifiers="operator">
+ <return type="bool" />
<argument index="0" name="right" type="Rect2" />
<description>
</description>
@@ -178,6 +194,4 @@
If the size is negative, you can use [method abs] to fix it.
</member>
</members>
- <constants>
- </constants>
</class>