[Next] [Previous] [Up] [Top] [Contents] [Index] Chapter 5 Graphics Objects 3. Lines, Polylines, and PolygonsWith the line option, you can create polygons, polylines (a series of connected lines), and plain, ordinary lines. Recall from the last chapter that when you choose an object to create from the Create menu, the mouse's pointer becomes a box with a dot in the middle of it. As you move the mouse, an outline of dashes appears that signifies the object's current size and position. The outline is always rectangular, and the actual object never appears until you set the object by left-clicking the mouse. For most objects this is not a problem because most objects are rectangular, except for lines, ovals, and arcs, which are not. Yet, even for these objects, you can still get a pretty good idea of a line's final appearance from the size and shape of the rectangular outline. When you create a line, EDD draws the outline from the mouse's pointer, located on one corner of the outline, to the opposite corner of the outline. The size and shape of the outline will determine the angle and length of the line. Figure 5-4 shows an outline that will result in a diagonal line. Since the line option is designed to draw polygons as well as lines, whenever you left-click to set the line you have just drawn, EDD sets that line and begins another line at the first line's end, where the mouse's pointer is. You can then draw a second line that is connected to the first line, and then by left-clicking that line, you can set it and begin a third line, and so on. To set a line without beginning another one, double-click the left mouse button. To draw a diagonal line:
To draw a straight line:
To draw a polygon:
If either the 'default edge style' attribute in the Display Attribute window or the 'edge style' property in the object's property sheet is set to dash, the line or lines you create will consist of dashes instead of being solid, that is, if the fill style of the object is outline and not solid. Other than that, what applies to the rest of the objects in the graphics subclass applies to lines and polygons. See General Characteristics and Properties in this chapter for information on how to configure the other properties in the property sheet.
EDD/DM User's Manual, 2.4 - 27 MARCH 1997 [Next] [Previous] [Up] [Top] [Contents] [Index]
|
L O S A L A M O S N A T I O N A L
L A B O R A T O R Y Copyright � 1996 UC Disclaimer
|