diff options
Diffstat (limited to 'doc/classes/Rect2.xml')
-rw-r--r-- | doc/classes/Rect2.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index 915099dc1c..fa8c57cd0c 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" /> |