Drawing Lines with the Pen Tool

One of the functions of the Pen tool is to draw line segments as well as connected line segments.

To draw an unconnected line segment:

  1. From the Tools toolbar, choose the Pen tool .

  2. In the Materials palette, set the desired Foreground/Stroke property. (Note that for single, unconnected line segments, you do not need to bother with the Background/Fill color.)

  3. In the Tool Options palette's Mode section, click the Draw Lines and Polylines button .

  4. Set other tool options:

  5. Connect Segments: Mark this check box to automatically connect each line segment.

  6. Show Nodes: Mark this check box to display the objects nodes during creation.

  7. Create on Vector: Mark this check box to place the object on the current vector layer. If no vector layer exists, this option will create a new one for the object. If this option is not checked, the line will be placed on a raster layer (making it more difficult to subsequently edit).

  8. Line Style: From the drop-list, choose the style to use for the line. For a plain, standard line, choose +Solid.

  9. Width: Set the desired line width in pixels.

  10. Anti-alias: Mark this check box to apply anti-aliasing to the object, giving the edges a smoother appearance.

  1. Place the cursor at the starting point, hold down the left mouse button and then drag the mouse. Release the mouse button when the line reaches the desired length.

Note: To create a vertical, horizontal, or 45-degree line, hold down the Shift key while you drag the mouse.

  1. In the Tool Options palette, click Apply to complete the creation of the shape and deselect it.

  2. To edit the line, click the Edit button in the Tool Options palette's Mode section, and then click the line. Edit mode allows for a variety of ways to modify the line. Note that you can also choose the Object Selection tool and modify the line in other ways (such as move, rotate, stretch, etc.).

To draw connected line segments:

  1. From the Tools toolbar, choose the Pen tool .

  2. In the Materials palette, set the desired Foreground/Stroke property. If you want the connected segments to have a fill, you'll also need to set the Background/Fill property. If you do not want the line segments to have a fill, set the Background/Fill property to Transparent.

  3. In the Tool Options palette's Mode section, click the Draw Lines and Polylines button .

  4. Set other tool options:

  5. Connect Segments: Mark this check box to automatically connect each line segment.

  6. Show Nodes: Mark this check box to display the objects nodes during creation.

  7. Create on Vector: Mark this check box to place the object on the current vector layer. If no vector layer exists, this option will create a new one for the object. If this option is not checked, the line will be placed on a raster layer (making it more difficult to subsequently edit).

  8. Line Style: From the drop-list, choose the style to use for the line. For a plain, standard line, choose +Solid.

  9. Width: Set the desired line width in pixels.

  10. Anti-alias: Mark this check box to apply anti-aliasing to the object, giving the edges a smoother appearance.

  11. Join: Choose from one of three Join types. Miter Join (this setting makes the Miter limit setting available) produces more pointed joins; Round Join rounds off the joins; and Beveled Join produces a sloped join.

  12. Miter limit: (This is only available when Miter Join is chosen.) This sets the degree of pointedness for Miter joins. Lower values create less pointed joins; higher values created more pointed joins.

  1. Place the cursor at the starting point, hold down the left mouse button and then drag the mouse. Release the mouse button when the first line reaches the desired length.

  2. To create the next segment, drag the mouse again, and release the button to complete the next line segment.

  3. Repeat step 6 to create as many connected line segments as you wish.

  4. You can complete the shape in two different ways:

  5. For an open shape (where the first and last segment are not connected), click the Create New Contour button in the Tool Options palette.

  6. For a closed shape (where the first and last segments are connected), click the Close Contour button in the Tool Options palette.

Note: To create a vertical, horizontal, or 45-degree line, hold down the Shift key while you drag the mouse.

  1. In the Tool Options palette, click Apply to complete the creation of the shape and deselect it.

  2. To edit the shape, click the Edit button in the Tool Options palette's Mode section, and then click the shape. Edit mode allows for a variety of ways to modify the line. Note that you can also choose the Object Selection tool and modify the shape in other ways (such as move, rotate, stretch, etc.).

Saving a Preset

Save an often-used set of Tool Options palette settings for subsequent use as follows:

  1. Set the Tool Options to the desired settings.

  2. Click the Presets drop-list, and then click the Save preset button . The Save Preset dialog appears.

  3. In the Preset Name field, enter a name for the preset.

  4. Optionally, you can click the Options button to enter more information about the preset, such as the Author, Copyright, and Description. You can also choose to exclude particular preset properties by clicking the associated button (a red "x" will appear over excluded properties).

  5. Click OK to save the preset and close the Save Preset dialog.

Loading a Preset

To load a preset, click the Presets drop-list and then click the desired preset from the list.

 

Resetting Tool Options to Default Values

To reset the Tool Options palette to the default values, click the Presets drop-list and then click the Reset to default button .

 

Related Topics

Editing Nodes

Creating Custom Line Styles

Drawing Bezier Curves with the Pen Tool

Drawing Freehand Curves with the Pen Tool

Using the Rectangle Tool

Using the Ellipse Tool

Using the Symmetric Shape Tool

Using the Preset Shape Tool