diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-07 19:58:47 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-08 11:57:46 +0000 |
commit | d5d99aaed6fc2d852491f3c133eacb762656ac4c (patch) | |
tree | c7fef424c8730be193b799f7c6d478435ed66118 /doc/classes | |
parent | 0f6745b6aabdab534049e8d1d49f8ddd41fcd1cb (diff) |
Use rectangle size instead of extents for Shape dimensions
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/RectangleShape2D.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/RectangleShape2D.xml b/doc/classes/RectangleShape2D.xml index 041416a24b..8e37fbad6f 100644 --- a/doc/classes/RectangleShape2D.xml +++ b/doc/classes/RectangleShape2D.xml @@ -13,8 +13,8 @@ <methods> </methods> <members> - <member name="extents" type="Vector2" setter="set_extents" getter="get_extents" default="Vector2( 10, 10 )"> - The rectangle's half extents. The width and height of this shape is twice the half extents. + <member name="size" type="Vector2" setter="set_size" getter="get_size" default="Vector2( 20, 20 )"> + The rectangle's width and height. </member> </members> <constants> |