.. _sketchLine:
+.. |line.icon| image:: images/line.png
Line
====
To add a new Line to the Sketch:
#. select in the Main Menu *Sketch - > Line* item or
-#. click **Line** button in Sketch toolbar:
-
-.. image:: images/line.png
- :align: center
-
-.. centered::
- **Line** button
+#. click |line.icon| **Line** button in Sketch toolbar:
The following property panel appears:
Start and end points coordinates are displayed in the property panel.
-**TUI Command**: *Sketch_1.addLine(X1, Y1, X2, Y2)*
+**TUI Command**:
+
+.. py:function:: Sketch_1.addLine(X1, Y1, X2, Y2)*
-**Arguments**: 4 values (coordinates of the start and end points).
+ :param real: X1 value.
+ :param real: Y1 value.
+ :param real: X2 value.
+ :param real: Y2 value.
+ :return: Result object.
Result
""""""