mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with latest 4.0-alpha
This commit is contained in:
@@ -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``.
|
||||
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user