Drawing a straight line
We begin with the drawing of the simplest element—a straight line.
Click on the Line icon on the Drawing toolbar and place the mouse pointer at the
point where you want to start the line (see Figure 20). Drag the mouse while keeping
the mouse button pressed. Release the mouse button at the point where you want to
end the line. A blue selection handle appears at each end of the line, showing that
this is the currently selected object.
Holding down the Shift key while you draw a line restricts the angle of the line to a
multiple of 45 degrees (0, 45, 90, 135, and so on).
Caution
This is the default behavior of the Shift key. However, if you have used
Tools > Options > OpenOffice.org Draw > Grid to set Snap position
to When creating or moving objects, the action of the Shift key is the
opposite: lines will always be at a multiple of 45 degrees unless the
Shift key is pressed.
Keeping the Ctrl key pressed while drawing a line enables the end of the line to snap
to the nearest grid point.
Caution
The effect of the Ctrl key depends on the settings of the Snap to Grid
option on the View->Grid menu:
Snap to Grid on: Ctrl deactivates the snap option for this activity.
Snap to Grid off: Ctrl activates the snap option for this activity.
The spacing (resolution) of the grid points can be adjusted under Tools > Options >
OpenOffice.org-Draw > Grid. See also Chapter 8 (Tips and Tricks).
Holding down the Alt key while drawing a line results in the line extending outwards
symmetrically in both directions from the start point. This lets you draw lines by
starting from the middle of the line.
The line just drawn has all the standard line attributes, such as color and line style.
To change any of these properties, select the line by clicking on it, then right-click
and select Line.
While you are working with a line (or any other element), you can use the information
field on the status bar to monitor the activity. A description of the current activity or
selection is shown when you are working with elements. Figure 21 shows two
examples.
26 OpenOffice.org 3.3 Draw Guide
Komentarze do niniejszej Instrukcji