From 714953b3ac697f0925c740581880cb71e2f94777 Mon Sep 17 00:00:00 2001 From: Kanabenki <18357657+Kanabenki@users.noreply.github.com> Date: Mon, 8 Apr 2019 11:14:10 +0200 Subject: Add optional position argument for add_point in Line2D --- doc/classes/Line2D.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index 7efaf2b55f..8ef36e2725 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -16,8 +16,11 @@ + + Add 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. -- cgit v1.2.3