summaryrefslogtreecommitdiff
path: root/doc/classes/Line2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Line2D.xml')
-rw-r--r--doc/classes/Line2D.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml
index 8a13e044f0..ab10426ebf 100644
--- a/doc/classes/Line2D.xml
+++ b/doc/classes/Line2D.xml
@@ -17,7 +17,7 @@
<argument index="1" name="at_position" type="int" default="-1">
</argument>
<description>
- Add a point at the [code]position[/code]. Appends the point at the end of the line.
+ 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 &lt; 0[/code] or [code]at_position &gt;= [method get_point_count][/code]), the point will be appended at the end of the point list.
</description>
</method>
@@ -50,7 +50,7 @@
<argument index="0" name="i" type="int">
</argument>
<description>
- Remove the point at index [code]i[/code] from the line.
+ Removes the point at index [code]i[/code] from the line.
</description>
</method>
<method name="set_point_position">
@@ -111,7 +111,7 @@
The line's joints will be rounded.
</constant>
<constant name="LINE_CAP_NONE" value="0" enum="LineCapMode">
- Don't have a line cap.
+ Don't draw a line cap.
</constant>
<constant name="LINE_CAP_BOX" value="1" enum="LineCapMode">
Draws the line cap as a box.
@@ -123,10 +123,10 @@
Takes the left pixels of the texture and renders it over the whole line.
</constant>
<constant name="LINE_TEXTURE_TILE" value="1" enum="LineTextureMode">
- Tiles the texture over the line. The texture need to be imported with Repeat Enabled for it to work properly.
+ Tiles the texture over the line. The texture must be imported with [b]Repeat[/b] enabled for it to work properly.
</constant>
<constant name="LINE_TEXTURE_STRETCH" value="2" enum="LineTextureMode">
- Stretches the texture across the line. Import the texture with Repeat Disabled for best results.
+ Stretches the texture across the line. Import the texture with [b]Repeat[/b] disabled for best results.
</constant>
</constants>
</class>