mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Remove stray spaces in method signatures
This commit is contained in:
@@ -17,27 +17,27 @@ Array of Colors
|
||||
Member Functions
|
||||
----------------
|
||||
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`PoolColorArray<class_poolcolorarray>` | :ref:`PoolColorArray<class_PoolColorArray_PoolColorArray>` **(** :ref:`Array<class_array>` from **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`append<class_PoolColorArray_append>` **(** :ref:`Color<class_color>` color **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`append_array<class_PoolColorArray_append_array>` **(** :ref:`PoolColorArray<class_poolcolorarray>` array **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`insert<class_PoolColorArray_insert>` **(** :ref:`int<class_int>` idx, :ref:`Color<class_color>` color **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`invert<class_PoolColorArray_invert>` **(** **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`push_back<class_PoolColorArray_push_back>` **(** :ref:`Color<class_color>` color **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`remove<class_PoolColorArray_remove>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`resize<class_PoolColorArray_resize>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set<class_PoolColorArray_set>` **(** :ref:`int<class_int>` idx, :ref:`Color<class_color>` color **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`size<class_PoolColorArray_size>` **(** **)** |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`PoolColorArray<class_poolcolorarray>` | :ref:`PoolColorArray<class_PoolColorArray_PoolColorArray>` **(** :ref:`Array<class_array>` from **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`append<class_PoolColorArray_append>` **(** :ref:`Color<class_color>` color **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`append_array<class_PoolColorArray_append_array>` **(** :ref:`PoolColorArray<class_poolcolorarray>` array **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`insert<class_PoolColorArray_insert>` **(** :ref:`int<class_int>` idx, :ref:`Color<class_color>` color **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`invert<class_PoolColorArray_invert>` **(** **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`push_back<class_PoolColorArray_push_back>` **(** :ref:`Color<class_color>` color **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`remove<class_PoolColorArray_remove>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`resize<class_PoolColorArray_resize>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set<class_PoolColorArray_set>` **(** :ref:`int<class_int>` idx, :ref:`Color<class_color>` color **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`size<class_PoolColorArray_size>` **(** **)** |
|
||||
+----------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
@@ -49,61 +49,61 @@ Member Function Description
|
||||
|
||||
.. _class_PoolColorArray_PoolColorArray:
|
||||
|
||||
- :ref:`PoolColorArray<class_poolcolorarray>` **PoolColorArray** **(** :ref:`Array<class_array>` from **)**
|
||||
- :ref:`PoolColorArray<class_poolcolorarray>` **PoolColorArray** **(** :ref:`Array<class_array>` from **)**
|
||||
|
||||
Create from a generic array.
|
||||
|
||||
.. _class_PoolColorArray_append:
|
||||
|
||||
- void **append** **(** :ref:`Color<class_color>` color **)**
|
||||
- void **append** **(** :ref:`Color<class_color>` color **)**
|
||||
|
||||
Append an element at the end of the array (alias of :ref:`push_back<class_PoolColorArray_push_back>`).
|
||||
|
||||
.. _class_PoolColorArray_append_array:
|
||||
|
||||
- void **append_array** **(** :ref:`PoolColorArray<class_poolcolorarray>` array **)**
|
||||
- void **append_array** **(** :ref:`PoolColorArray<class_poolcolorarray>` array **)**
|
||||
|
||||
Append a :ref:`PoolColorArray<class_poolcolorarray>` at the end of this array.
|
||||
|
||||
.. _class_PoolColorArray_insert:
|
||||
|
||||
- :ref:`int<class_int>` **insert** **(** :ref:`int<class_int>` idx, :ref:`Color<class_color>` color **)**
|
||||
- :ref:`int<class_int>` **insert** **(** :ref:`int<class_int>` idx, :ref:`Color<class_color>` color **)**
|
||||
|
||||
Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()).
|
||||
|
||||
.. _class_PoolColorArray_invert:
|
||||
|
||||
- void **invert** **(** **)**
|
||||
- void **invert** **(** **)**
|
||||
|
||||
Reverse the order of the elements in the array (so first element will now be the last).
|
||||
|
||||
.. _class_PoolColorArray_push_back:
|
||||
|
||||
- void **push_back** **(** :ref:`Color<class_color>` color **)**
|
||||
- void **push_back** **(** :ref:`Color<class_color>` color **)**
|
||||
|
||||
Append a value to the array.
|
||||
|
||||
.. _class_PoolColorArray_remove:
|
||||
|
||||
- void **remove** **(** :ref:`int<class_int>` idx **)**
|
||||
- void **remove** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Remove an element from the array by index.
|
||||
|
||||
.. _class_PoolColorArray_resize:
|
||||
|
||||
- void **resize** **(** :ref:`int<class_int>` idx **)**
|
||||
- void **resize** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Set the size of the array. If the array is grown reserve elements at the end of the array. If the array is shrunk truncate the array to the new size.
|
||||
|
||||
.. _class_PoolColorArray_set:
|
||||
|
||||
- void **set** **(** :ref:`int<class_int>` idx, :ref:`Color<class_color>` color **)**
|
||||
- void **set** **(** :ref:`int<class_int>` idx, :ref:`Color<class_color>` color **)**
|
||||
|
||||
Change the :ref:`Color<class_color>` at the given index.
|
||||
|
||||
.. _class_PoolColorArray_size:
|
||||
|
||||
- :ref:`int<class_int>` **size** **(** **)**
|
||||
- :ref:`int<class_int>` **size** **(** **)**
|
||||
|
||||
Return the size of the array.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user