[doc] Use "param" instead of "code" to refer to parameters (5)
This commit is contained in:
parent
9145420a65
commit
ef942718a0
37 changed files with 235 additions and 235 deletions
|
|
@ -16,8 +16,8 @@
|
|||
<param index="0" name="position" type="Vector2" />
|
||||
<param index="1" name="at_position" type="int" default="-1" />
|
||||
<description>
|
||||
Adds a point at the [code]position[/code]. Appends the point at the end of the line.
|
||||
If [code]at_position[/code] is given, the point is inserted before the point number [code]at_position[/code], moving that point (and every point after) after the inserted point. If [code]at_position[/code] is not given, or is an illegal value ([code]at_position < 0[/code] or [code]at_position >= [method get_point_count][/code]), the point will be appended at the end of the point list.
|
||||
Adds a point at the [param position]. Appends the point at the end of the line.
|
||||
If [param at_position] is given, the point is inserted before the point number [param at_position], moving that point (and every point after) after the inserted point. If [param at_position] is not given, or is an illegal value ([code]at_position < 0[/code] or [code]at_position >= [method get_point_count][/code]), the point will be appended at the end of the point list.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_points">
|
||||
|
|
@ -36,14 +36,14 @@
|
|||
<return type="Vector2" />
|
||||
<param index="0" name="i" type="int" />
|
||||
<description>
|
||||
Returns point [code]i[/code]'s position.
|
||||
Returns point [param i]'s position.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_point">
|
||||
<return type="void" />
|
||||
<param index="0" name="i" type="int" />
|
||||
<description>
|
||||
Removes the point at index [code]i[/code] from the line.
|
||||
Removes the point at index [param i] from the line.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_point_position">
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
<param index="0" name="i" type="int" />
|
||||
<param index="1" name="position" type="Vector2" />
|
||||
<description>
|
||||
Overwrites the position in point [code]i[/code] with the supplied [code]position[/code].
|
||||
Overwrites the position in point [param i] with the supplied [param position].
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue