Use the Line object to create straight or diagonal lines. To draw a line, click and hold down the left or right mouse button where you want the line to begin. Drag the cursor to where you want the line to end and release the mouse button. A line connecting these two points will be drawn.

Set the attributes for the line’s color, width and style using the Style Panel.

You can draw perfectly horizontal or vertical lines by using the Snap to Grid option on the Options Menu.

Line objects are created using <svg> HTML tag.