Editing Vector Shapes

   

Editing Vector Shapes

After you create a vector-shape cast member, you can modify it by moving, adding, and deleting points; changing corner points to curve points (or vice versa); or resizing the entire cast member. You can also split a vector shape in two, or join two shapes into one.

To select one or more points:

  1. With a vector shape open in the Vector Shape window, click the Arrow tool ( Figure 7.25 ).

    Figure 7.25. The Arrow tool is used for selecting and moving points.

    graphics/07fig25.gif

  2. Click on a single point to select it.

    or

    Drag across multiple points to select them ( Figure 7.26 ).

    Figure 7.26. When you drag with the Arrow tool, it creates a rectangular marquee that you can use to select multiple points.

    graphics/07fig26.gif

graphics/tick.gif Tip

  • You can add to a selection by Shift+clicking additional points.


To move points:

  1. Select one or more points of a vector shape.

  2. Drag the point or points to a new location ( Figure 7.27 ).

    Figure 7.27. When you move a point, the lines connecting to the point adjust dynamically.

    graphics/07fig27.gif

    The lines connecting to the point or points adjust dynamically.

graphics/tick.gif Tip

  • You can nudge selected points one pixel at a time by using the arrow keys.


To delete points:

  1. Select one or more points of a vector shape.

  2. Press Delete.

    The lines connecting to the point or points you delete are also removed ( Figure 7.28 ).

    Figure 7.28. Deleting a point can drastically change a shape.

    graphics/07fig28.gif

graphics/tick.gif Tip

  • If you select all the points in a shape and press Delete, the entire shape is deleted.


To adjust a curve:

  1. Select a curve point attached to the curve you want to adjust.

    Two control handles appear ( Figure 7.29 ).

    Figure 7.29. When you select a curve point, its handles appear.

    graphics/07fig29.gif

  2. Shorten or lengthen the curve on either side of the point by dragging the corresponding handle inward or outward ( Figure 7.30 ).

    Figure 7.30. Drag a handle to shorten or lengthen the adjacent curve.

    graphics/07fig30.gif

  3. Rotate the curve around the point by dragging either control handle along a circular path ( Figure 7.31 ).

    Figure 7.31. Rotate the curve around a corner point by dragging a control handle along a circular path.

    graphics/07fig31.gif

graphics/tick.gif Tips

  • To rotate only one side of a curve while leaving the other side unaffected, hold down the Ctrl key (Windows) or Command key (Mac) while you drag the control handle ( Figure 7.32 ).

    Figure 7.32. You can independently rotate either control handle by holding down the Ctrl key (Windows) or Command key (Mac) as you drag the handle.

    graphics/07fig32.gif

  • Hold down the Shift key while dragging a control handle to constrain it to 45-degree increments .


To convert a corner point to a curve point:

  1. Select a corner point of a vector shape ( Figure 7.33 ).

    Figure 7.33. Select a corner point.

    graphics/07fig33.gif

  2. Alt+drag (Windows) or Option+drag (Mac) outward from the selected corner point.

    The corner point converts to a curve point, a control handle extends in the direction that you're dragging, and the adjacent straight line becomes a curve ( Figure 7.34 ).

    Figure 7.34. Convert a selected corner point to a curve point by Alt+dragging (Windows) or Option+dragging (Mac) outward from the point.

    graphics/07fig34.gif

  3. (optional) Alt+drag (Windows) or Option+drag (Mac) in the other direction from the curve point to extend the second control handle.

To convert a curve point to a corner point:

  1. Select a curve point of a vector shape ( Figure 7.35 ).

    Figure 7.35. Select a curve point.

    graphics/07fig35.gif

  2. Drag one control handle into the point to make it disappear.

  3. Drag the second control handle into the point.

    The point technically remains a curve point (still represented by a circle), but with its handles collapsed it functions as if it were a corner point ( Figure 7.36 ).

    Figure 7.36. Convert the curve point to a functional corner point by dragging the handles into the point.

    graphics/07fig36.gif

To resize a vector-shape cast member:

  1. In the Vector Shape window, click the arrow tool.

  2. Ctrl+Alt+drag (Windows) or Command+Option+drag (Mac) anywhere within the cast member to scale it proportionally ( Figure 7.37 ).

    Figure 7.37. Ctrl+Alt+drag (Windows) or Command+Option+drag (Mac) to rescale a vector-shape cast member.

    graphics/07fig37.gif

    Dragging outward enlarges the cast member; dragging inward reduces it.

graphics/tick.gif Tip

  • If your cast member includes multiple shapes, you must resize all of them at once.


To add a point to a closed vector shape:

  1. Click the Pen tool in the Vector Shape window.

  2. Click anywhere on the outline of the shape to create a new corner point ( Figure 7.38 ).

    Figure 7.38. Click or drag with the Pen tool to add a new point to a closed shape.

    graphics/07fig38.gif

    or

    Click and drag anywhere on the outline of the shape to create a new curve point.

To add a new endpoint to an open vector shape:

  1. Select either endpoint ( Figure 7.39 ).

    Figure 7.39. To add a new endpoint to a vector shape, you must first select an endpoint.

    graphics/07fig39.gif

  2. Click the Pen tool.

  3. Click anywhere to create a new corner endpoint ( Figure 7.40 ).

    Figure 7.40. With the Pen tool, click to create a new corner endpoint or drag to create a new curve endpoint.

    graphics/07fig40.gif

    or

    Drag anywhere to create a new curve endpoint.

To add a new intermediate point to an open vector shape:

  1. Click the Pen tool.

  2. Alt+click (Windows) or Option+click (Mac) anywhere on the path to add a new corner point ( Figure 7.41 ).

    Figure 7.41. Alt+click (Windows) or Option+click (Mac) anywhere on an open path to add a new corner point.

    graphics/07fig41.gif

    or

    Alt+drag or Option+drag anywhere on the path to add a new curve point.

To move a single shape within a multi-shape cast member:

  1. In the Vector Shape window, click the Arrow tool.

  2. Position the mouse pointer over the edge of a shape that you want to move.

    The color of the pointer inverts when it's in the right position ( Figure 7.42 ).

    Figure 7.42. When the "hot spot" of the mouse pointer is over the edge of a shape, the color of the pointer inverts. The shape can now be dragged to a new location.

    graphics/07fig42.gif

  3. Drag the shape to its new location.

graphics/tick.gif Tips

  • If the shape that you want to move is filled, you can move it simply by dragging its interior.

  • You can move multiple shapes at the same time by first selecting all their points with the Selection tool and then dragging a selected point to a new location.


To split a vector shape into two separate shapes:

  1. Select any two adjacent points in a vector shape.

  2. Choose Modify > Split Curve.

    The selected points become new start and endpoints. If the shape you split is closed, the new start and endpoints connect to the previous start and endpoints to form two closed shapes ( Figure 7.43 ).

    Figure 7.43. You can split a vector shape to create two new shapes. The first selected point becomes the start and endpoint of one new shape; the second selected point becomes the start and endpoint of another new shape.

    graphics/07fig43.gif

To join two vector shapes or curves:

  1. Select one point in each of the vector shapes or curves that you want to join.

  2. Choose Modify > Join Curves.

    If the points you selected were start or endpoints, those points become joined ( Figure 7.44 ).

    Figure 7.44. If start or endpoints were selected, they become joined to each other.

    graphics/07fig44.gif

    If the points you selected were intermediate points, the start point of the second shape (the one most recently drawn) becomes joined to the endpoint of the first shape ( Figure 7.45 ).

    Figure 7.45. If intermediate points were selected, the start point of the second shape is joined to the endpoint of the first shape.

    graphics/07fig45.gif

    If the shapes you joined were open, you get a new open shape. If the shapes were closed, you get a new closed shape ( Figure 7.46 ).

    Figure 7.46. Joining two closed shapes results in a new closed shape.

    graphics/07fig46.gif

   


Macromedia Director MX for Windows and Macintosh. Visual QuickStart Guide
Macromedia Director MX for Windows and Macintosh. Visual QuickStart Guide
ISBN: 1847193439
EAN: N/A
Year: 2003
Pages: 139

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net