summaryrefslogtreecommitdiff
path: root/doc/classes/Rect2i.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-09 17:46:03 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-11-09 23:39:53 +0100
commit0f249f5c0aa2c3a89848f03f155b76e834e4c32a (patch)
tree4fa6ebf28401601e03b0ce2b387f60c32b771fb5 /doc/classes/Rect2i.xml
parentefc4d217d61f592a16ebab30731ff9f595dee2cf (diff)
Variant: Sync docs with new constructors, fixups after #43403
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
Diffstat (limited to 'doc/classes/Rect2i.xml')
-rw-r--r--doc/classes/Rect2i.xml34
1 files changed, 25 insertions, 9 deletions
diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml
index de2932e816..5c9162baf4 100644
--- a/doc/classes/Rect2i.xml
+++ b/doc/classes/Rect2i.xml
@@ -15,6 +15,31 @@
<method name="Rect2i">
<return type="Rect2i">
</return>
+ <description>
+ Constructs a default-initialized [Rect2i] with default (zero) values of [member position] and [member size].
+ </description>
+ </method>
+ <method name="Rect2i">
+ <return type="Rect2i">
+ </return>
+ <argument index="0" name="from" type="Rect2i">
+ </argument>
+ <description>
+ Constructs a [Rect2i] as a copy of the given [Rect2i].
+ </description>
+ </method>
+ <method name="Rect2i">
+ <return type="Rect2i">
+ </return>
+ <argument index="0" name="from" type="Rect2">
+ </argument>
+ <description>
+ Constructs a new [Rect2i] from [Rect2]. The floating point coordinates will be truncated.
+ </description>
+ </method>
+ <method name="Rect2i">
+ <return type="Rect2i">
+ </return>
<argument index="0" name="position" type="Vector2i">
</argument>
<argument index="1" name="size" type="Vector2i">
@@ -38,15 +63,6 @@
Constructs a [Rect2i] by x, y, width, and height.
</description>
</method>
- <method name="Rect2i">
- <return type="Rect2i">
- </return>
- <argument index="0" name="from" type="Rect2">
- </argument>
- <description>
- Constructs a new [Rect2i] from [Rect2]. The floating point coordinates will be truncated.
- </description>
- </method>
<method name="abs">
<return type="Rect2i">
</return>