Previous | Contents | Index | Next

# 2.3.7.1 Draw Straight Line

Creates a Straight Line of specified color and width. The Straight Line Width field is a scaled dimension in 75ths of an inch if >0. If 0 it is a 1 pixel wide line at all zooms. If the value is negative, it is a scale-independent number of pixels wide.

If `Ctrl` is held down during `Left+Drag` the line will snap the angle of the new side to a multiple of 90 degrees.

With MagneticSnap (Section 2.12.1) enabled, the new line start position will snap to the nearest draw object, as shown by the anchor. If `Alt` is held down, the magnetic Snap is reversed. If GridSnap is enabled and MagneticSnap does not find a postion, the first position will snap to the Grid. This is suppressed if Alt is held.

The Width field is a scaled dimension in inches if >0. If 0 it is a 1 pixel wide line at all zooms. If the value is negative, it is a scale-independent number of pixels wide.

If Sticky is set for straight draw, after the line is drawn there will be two text fields on the bottom rail, to allow fine-tuning of the angle and the length. Pressing `Enter` or `Tab` with the cursor in these boxes will apply the value to the line. Pressing `Space` or `Enter` on the drawing surface will move to drawing a new line. Pressing `Shift+Tab` will remove the current object and allow a new one to drawn. Even if `Esc` is pressed, the line will already exist, it can be removed with Undo.