From 7adf4cc9b5de6701a41e27690a69b9892d5eed85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 30 Jul 2021 15:28:05 +0200 Subject: doc: Use self-closing tags for `return` and `argument` For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there. --- doc/classes/Line2D.xml | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) (limited to 'doc/classes/Line2D.xml') diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index 587d5833b9..093ba51755 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -12,56 +12,44 @@ - - - - - - + + + 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. - - + Removes all points from the line. - - + Returns the Line2D's amount of points. - - - - + + Returns point [code]i[/code]'s position. - - - - + + Removes the point at index [code]i[/code] from the line. - - - - - - + + + Overwrites the position in point [code]i[/code] with the supplied [code]position[/code]. -- cgit v1.2.3