[doc] Use "param" instead of "code" to refer to parameters
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<param index="2" name="inline_align" type="int" enum="InlineAlignment" default="5" />
|
||||
<param index="3" name="length" type="int" default="1" />
|
||||
<description>
|
||||
Adds inline object to the text buffer, [code]key[/code] must be unique. In the text, object is represented as [code]length[/code] object replacement characters.
|
||||
Adds inline object to the text buffer, [param key] must be unique. In the text, object is represented as [param length] object replacement characters.
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_string">
|
||||
@@ -42,7 +42,7 @@
|
||||
<param index="1" name="pos" type="Vector2" />
|
||||
<param index="2" name="color" type="Color" default="Color(1, 1, 1, 1)" />
|
||||
<description>
|
||||
Draw text into a canvas item at a given position, with [code]color[/code]. [code]pos[/code] specifies the top left corner of the bounding box.
|
||||
Draw text into a canvas item at a given position, with [param color]. [param pos] specifies the top left corner of the bounding box.
|
||||
</description>
|
||||
</method>
|
||||
<method name="draw_outline" qualifiers="const">
|
||||
@@ -52,7 +52,7 @@
|
||||
<param index="2" name="outline_size" type="int" default="1" />
|
||||
<param index="3" name="color" type="Color" default="Color(1, 1, 1, 1)" />
|
||||
<description>
|
||||
Draw text into a canvas item at a given position, with [code]color[/code]. [code]pos[/code] specifies the top left corner of the bounding box.
|
||||
Draw text into a canvas item at a given position, with [param color]. [param pos] specifies the top left corner of the bounding box.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_line_ascent" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user