classref: Sync with latest 4.0-alpha

This commit is contained in:
Rémi Verschelde
2022-02-22 10:06:27 +01:00
parent 2ef8d8df34
commit 19fca2678c
128 changed files with 4153 additions and 2432 deletions

View File

@@ -229,7 +229,7 @@ Returns a copy of this ``Rect2`` expanded to include a given point.
- :ref:`float<class_float>` **get_area** **(** **)** |const|
Returns the area of the ``Rect2``.
Returns the area of the ``Rect2``. See also :ref:`has_no_area<class_Rect2_method_has_no_area>`.
----
@@ -269,7 +269,9 @@ Returns a copy of the ``Rect2`` grown by the specified ``amount`` on the specifi
- :ref:`bool<class_bool>` **has_no_area** **(** **)** |const|
Returns ``true`` if the ``Rect2`` is flat or empty.
Returns ``true`` if the ``Rect2`` is flat or empty, ``false`` otherwise. See also :ref:`get_area<class_Rect2_method_get_area>`.
\ **Note:** If the ``Rect2`` has a negative size and is not flat or empty, :ref:`has_no_area<class_Rect2_method_has_no_area>` will return ``true``.
----