Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 50 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
50
Dung lượng
0,93 MB
Nội dung
Chapter 16: Drawing Free-form Shapes and Curved Paths 405 Adding and deleting anchor points If you want to add detail to an existing path, you need to add anchor points that give you more pre- cise control over a portion of the path. Perhaps you’ve drawn the profile of a face and you want to add detail to the lips, or maybe you’ve written your name in longhand and you need to add a flourish that your original attempt lacks. In both cases, you can add smooth or corner points and then manip- ulate the curves associated with those points by moving them or manipulating their direction lines. (The next section explains how to move anchor points and manipulate direction lines.) On the other hand, maybe you’ve created a path that’s more complicated than necessary. Perhaps you drew a hand with six fingers instead of five or a camel with one too many humps. In these instances, you need to simplify the path by removing anchor points. InDesign lets you add and delete as many anchor points as you want. Tip You should always try to use as few anchor points as possible in the paths you create. The fewer points a path has, the less likely it is to cause printing problems. n When you want to modify the shape of a path, you should begin by selecting it with the Direct Selection tool rather than the Selection tool. If you select a path with the Selection tool, the path’s bounding box appears with eight moveable handles. In this situation, you can modify the bound- ing box (thereby resizing the path), but you can’t modify the path itself. To add an anchor point: 1. Select the path by clicking it with the Direct Selection tool. You can also select multi- ple paths and then modify them one at a time. 2. Select the Pen tool, the Add Anchor Point tool, or the Delete Anchor Point tool. You can use any of these tools to add and delete anchor points. If the Type tool is not selected, you can select the Pen tool by pressing P, the Add Anchor Point tool by pressing =, and the Delete Anchor Point tool by pressing – (hyphen). 3. Move the Pen pointer over the selected path at the point where you want to add an anchor point. 4. Click and release the mouse button. A new anchor point is created where you click. If the Delete Anchor Point tool is selected, you must press and hold Ô or Ctrl to add an anchor point. If you click a straight segment between two corner points, a corner point is created. If you click a curved segment between two smooth points or between a smooth point and a corner point, a smooth point is created. You can also click, drag, and then release the mouse button if you want to adjust the direction line of the point you create. Figure 16.14 shows a before-and-after example of a path to which a smooth anchor point is added. 25_607169-ch16.indd 40525_607169-ch16.indd 405 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Part IV: Graphics Fundamentals 406 FIGURE 16.14 The original path (left) is modified by adding a smooth point (second from left). Dragging the smooth point (third from left) produced the final shape (right). After you add an anchor point, you can press and hold Ô or Ctrl or switch to the Direct Selection tool and drag it or either of its direction handles to adjust the adjoining segments. Tip Whenever you’re working on a path, you can press and hold Ô or Ctrl and then click and drag any element of the path — an anchor point, a direction line, or the entire path. n To delete an anchor point: 1. Select the path by clicking it with the Direct Selection tool. You can also select multi- ple paths and then modify them one at a time. 2. Select the Pen tool, the Add Anchor Point tool, or the Delete Anchor Point tool. You can use any of these tools to add and delete anchor points. If the Type tool is not selected, you can select the Pen tool by pressing P, the Add Anchor Point tool by pressing =, and the Delete Anchor Point tool by pressing – (hyphen) on the main keyboard or on the numeric keypad. 3. Move the pointer over the anchor point that you want to delete and then click. If the Add Anchor Point tool is selected, you must press and hold Ô or Ctrl to delete an anchor point. Figure 16.15 shows a before-and-after example of a path from which an anchor point has been deleted. FIGURE 16.15 The curved segment of the original path (left) is removed by deleting the smooth anchor point (center) with the Delete Anchor Point tool. The resulting path is shown on the right. 25_607169-ch16.indd 40625_607169-ch16.indd 406 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Chapter 16: Drawing Free-form Shapes and Curved Paths 407 Modifying segments As described earlier in this chapter, a path is made up of one or more segments, and every segment is defined by a pair of anchor points. If you want to modify a segment, you can do so by dragging either or both of its anchor points, dragging the direction handles (if present) of the anchor points, or converting either of the anchor points from smooth to corner or vice versa. For example, you could drag an anchor point on a curvy path to increase or decrease the severity of a particular bump, or you could convert a straight-edged polygon into a curvy shape by convert- ing all its corner points to smooth points. Moving anchor points When you select a path with the Direct Selection tool, its anchor points appear as small, hollow squares. When you click and drag an anchor point, the two adjoining segments change, but the direction handles, if present, are not affected. If you press and hold Shift as you drag an anchor point, movement is restricted to increments of 45 degrees. Figure 16.16 shows how moving an anchor point affects adjoining curved and straight segments. FIGURE 16.16 Left group: The arc of the curve (right) is reduced by clicking and dragging the smooth anchor point at the top of the curve (center). Right group: Dragging a corner (center) point changes the two adjoining segments (right). Tip If all you need to do is resize a path — particularly a simple rectangle — rather than change its shape, you should select it with the Selection tool rather than the Direct Selection tool and then click and drag one of its bounding box handles. n Converting anchor points If you want to change a wavy path that contains only curved segments to a zigzag path that con- tains only straight segments, you can do so by converting the smooth anchor points of the wavy path into corner points. Similarly, by converting corner points to smooth points, you can smooth out a path that contains straight segments. Figure 16.17 shows how straight and curved paths are affected as anchor points are converted. 25_607169-ch16.indd 40725_607169-ch16.indd 407 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Part IV: Graphics Fundamentals 408 FIGURE 16.17 Left group: The outer corner points of a straight-edged polygon path (left) were converted to smooth points to create the shape on the right. Right group: The zigzag path (right) was created by converting all the smooth points in the path on the left into corner points. To convert an anchor point: 1. Select the path by clicking it with the Direct Selection tool. 2. Choose the Convert Direction Point tool. You can also perform the functions of this tool by pressing and holding Option+Ô or Ctrl+Alt when the Direct Selection tool is selected. 3. Move the pointer over the anchor point you want to convert. Depending on the point you want to convert, do one of the following: l To convert a corner point to a smooth point, click the corner point and then drag (direction lines are created and displayed as you drag). l To convert a smooth point to a corner point without direction lines, click and release the mouse on the smooth point. l To convert a smooth point to a corner point with independent direction lines, click and drag either of the smooth point’s direction handles. l To convert a corner point without direction lines to a corner point with direction lines, click and drag the corner point to create a smooth point, release the mouse button, and then click and drag either of the direction lines. Tip When using the Convert Direction Point tool, you can temporarily switch to the most recently used selection tool by pressing Ô or Ctrl. n New Feature You can change a smooth point into a corner point in InDesignCS5 by Option+clicking or Alt+clicking its direction handle. Also, the Pathfinder panel (shown later in this chapter) now offers four iconic buttons — Plain, Corner, Smooth, and Symmetrical — to quickly convert a selected corner point. These match the options in the Object ➪ Convert Point submenu, also new to InDesign CS5. The Plain option removes the direction lines from the corner point, essentially making it into a frozen corner point. n 25_607169-ch16.indd 40825_607169-ch16.indd 408 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Chapter 16: Drawing Free-form Shapes and Curved Paths 409 Manipulating direction handles In addition to dragging and converting anchor points, you can adjust the shape of a curved seg- ment by dragging any of the direction lines associated with the anchor points at either end of the segment. Figure 16.18 shows how moving direction lines affect a curved segment. FIGURE 16.18 The shapes on the right in the two groups of curves were created by dragging a direction line of a smooth point (center shapes in both groups). Note Remember, corner points between straight segments don’t have direction handles (they are plain corner points in InDesign’s lingo). If you want to modify the segments associated with a corner point, simply click and drag the point. n To drag a curved segment’s direction handle: 1. Use the Direct Selection tool to select the path. 2. Click either of the two endpoints that define the curved segment. Handles appear at the ends of the two lines that make up the selected point’s direction line (and the lines make up what appears to be a single, straight line). The direction lines of the two adjoin- ing segments (if present) also appear. 3. Click and drag any available handle. Press Shift as you drag to constrain movement to multiples of 45 degrees. As you drag, the handle at the opposite end of the direction line moves in the opposite direction like a teeter-totter. However, if you lengthen or shorten one side of a direction line, the other side is not affected. 4. Release the mouse button when the shape is the way you want it. Note If you use the Convert Direction Point tool to click and drag a smooth point’s direction-line handle, the oppo- site portion of the direction line remains unchanged. You can therefore adjust the segment on one side of a smooth point without affecting the segment on the other side. n Working with open and closed paths If you’ve created an open path and subsequently decide that you want to extend the path at either or both ends, you can do so using the Pen tool. Along the same lines, you can use the Pen tool to connect two open paths and to close an open path. 25_607169-ch16.indd 40925_607169-ch16.indd 409 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Part IV: Graphics Fundamentals 410 For example, if you’ve placed text or a graphic into an open path, you may decide that the path works better in a closed frame; and if you want to get even trickier, you can use the Scissors tool to split an open or closed path into two separate paths. Extending an open path and connecting open paths The steps required to extend an open path and to connect two open paths are very similar. Here’s how you extend an open path: 1. Use the Direct Selection tool to select the path you want to extend. 2. Move the Pen pointer over one of the path’s endpoints. When the Pen pointer is over an endpoint, a small, angled line appears below and to the right of the Pen. 3. Click and release the mouse button. 4. Move the pointer to where you want to place the next anchor point. If you want to create a corner point, click and release the mouse button. If you want to create a smooth point, click and hold the mouse button, drag the mouse, and then release the mouse button. 5. Continue adding smooth and corner points until you’re done extending the path. 6. Finish the path by pressing Enter or Return, pressing and holding Ô or Ctrl and clicking an empty portion of the page, or choosing another tool. To connect two open paths, follow Steps 1 through 3 in the preceding list and then click the end- point of another path (the other path doesn’t have to be selected). The left side of Figure 16.19 shows a path before and after being extended; the right side shows an open path produced by con- necting two open paths. If you press and hold Shift when you click an endpoint with the Pen tool, an endpoint for a new path is created (that is, the selected path remains unchanged). In this situation, a small x appears below and to the right of the Pen pointer. Having this endpoint is useful if you want to create two paths that touch at a particular point. FIGURE 16.19 At left: The original path (left) was cloned to create the path on the right. The cloned path was then extended by clicking its right endpoint with the Pen tool and then clicking four more times to create four additional corner points. At right: Connecting the two open paths on the left with the Pen tool produced the single path on the right. 25_607169-ch16.indd 41025_607169-ch16.indd 410 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Chapter 16: Drawing Free-form Shapes and Curved Paths 411 For example, you could draw a path and apply a 4-point black stroke to it, and then create another path that shares an endpoint with the first path. By adding a different kind of stroke to the second path, the two paths look like a single path to which two kinds of stroke have been applied. Closing an open path Closing an open path is much the same as extending an open path. The only difference is that you complete the path — that is, you close it — by clicking the other endpoint. For example, if you slice a graphics frame into two pieces using the Scissors tool (explained in the next section of this chapter), two open paths are created. If you add a stroke to these open frames, a portion of the graphic edge (the nonexistent segment between the endpoints) is not stroked. If you close the path, the stroke completely encloses the graphic within. Figure 16.20 shows an open path that’s been converted into a closed path. FIGURE 16.20 The closed path on the right was created from a clone of the open path on the left. InDesign provides two quick ways to close an open a path after selecting it: l Choose Object ➪ Paths ➪ Close Path. l Click the Close Path iconic button on the Pathfinder panel (which you open by choosing Window ➪ Object & Layout ➪ Pathfinder). Figure 16.24 later in this chapter shows the panel. Opening a closed path You can open a closed path in two ways after selecting that path: l Choose Object ➪ Paths ➪ Open Path. l Click the Open Path iconic button on the Pathfinder panel. Either way, InDesign separates the start point into a start point and endpoint, letting you move either point or the segments attached to them independently. 25_607169-ch16.indd 41125_607169-ch16.indd 411 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Part IV: Graphics Fundamentals 412 Note When you choose Objects ➪ Paths ➪ Open Path or click the Open Path iconic button, InDesign automatically selects the point where the path was opened, so you can immediately begin working with it (and know where it is). n Using the Scissors tool The Scissors tool does precisely what its name suggests: It lets you slice things. Specifically, it lets you split paths — open and closed — into two pieces. You should know a few things about using the Scissors tool: l It takes only one click with the Scissors tool to split an open path, but it takes two clicks to completely split a closed path. l You can split graphics frames but you can’t split text frames that contain text. If you want to split a text frame that contains text, you must first cut the text and paste it elsewhere. l If you split a graphics frame, a copy of the graphic is placed within both frames. l When you split a path, all stroke and fill attributes of the original path are inherited by the two offspring. After you split a path, it looks the same as before you split it until you move or modify one of the resulting paths. To split an open path, use the Scissors tool and move the cross-hairs pointer over a path, then click and release the mouse button. You can click an open portion of a segment (that is, between anchor points) or an anchor point. In both cases, two anchor points — endpoints of the two resulting paths — are created. To split a closed path, use the Scissors tool and move the cross-hairs pointer over a path and then click and release the mouse button. You can click an open portion of a segment or an anchor point. In both cases, two anchor points — endpoints of the two resulting paths — are created. Move the cross-hairs pointer to a different position along the same path and then click and release the mouse button. After you split a path, you can switch to either of the selection tools and then select, move, or modify either of the two resulting paths as you want. If you’ve split a closed path, you may want to close the two open paths (as described in the previous section). The left side of Figure 16.21 shows a pair of open paths created using the Scissors tool on an open path. The right side of Figure 16.21 shows a closed graphics frame that’s been split into two open frames. 25_607169-ch16.indd 41225_607169-ch16.indd 412 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Chapter 16: Drawing Free-form Shapes and Curved Paths 413 FIGURE 16.21 Left group: The original path (left) was split into two pieces by clicking it with the Scissors tool (center). On the right, you see the two resulting paths after the one on the right has been moved. Right group: The closed path (a graphics frame) on the left was cut twice with the Scissors tool (center). On the right, one of the resulting open paths has been moved with the Selection tool. Joining Paths It’s not uncommon to create two paths and then realize you want to join them together into one path. Doing so is easy in InDesign: Select the two paths-to-be and then choose Object ➪ Paths ➪ Join, or click the Join Paths iconic button in the Pathfinder panel (choose Window ➪ Objects & Layout ➪ Pathfinder), as shown in Figure 16.24, later in this chapter. Note the following about joining paths: l Only two paths may be joined. (If you select just one path, it will be made into a closed path. If you select more than two paths, nothing happens when you try to join them.) l Only open paths created with the Pen and Pencil tools can be joined. Straight lines, frames, and other shapes are ignored. l If you join a text path to a nontext path, the text is deleted. If you join two text paths, the first text path’s text is retained and the second path’s text is deleted. l InDesign usually creates a straight segment between the final point in the first object that was created and the first point in the next object that was created. However, if two other points are close to each other, it may join those two points instead. You need to experi- ment to see what happens with your paths. Working with Compound Paths When more than one path is selected, you can use the Make Compound Path command (choose Object ➪ Paths ➪ Make Compound Path or press Ô+8 or Ctrl+8) to convert the paths into a single object (still composed of separate paths). A compound path is similar to a group (choose Object ➪ Group or press Ctrl+G or Ô+G) except that when you create a group out of several objects, each object in the group retains its original attributes, such as stroke color and width, fill color or gradient, and so on. 25_607169-ch16.indd 41325_607169-ch16.indd 413 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Part IV: Graphics Fundamentals 414 By contrast, when you create a compound path, the attributes of the backmost path are applied to all the other paths (that is, the attributes of the backmost path replace the attributes of the other paths). Examples of compound paths in use Figure 16.22 shows three examples of how you can use compound paths. FIGURE 16.22 Three examples of compound paths, from left to right: transparent areas within a path, use of a single shape or fill across multiple shapes, and complex shapes created from compound paths. Create transparent areas within a path By drawing a circular path in front of a graphic, you could then use the Make Compound Path command to poke a hole in the graphic and reveal the objects or the empty page behind the graphic. As you can see in the left side of Figure 16.22, I created the graphic with the hole in it (right) by drawing a circular path (center) in front of a clone of the original graphics frame (left) and then creating a compound path from the graphics frame and the circular path. The background shape shows within the transparent hole. Apply a single background color or graphic across several shapes You could use the Create Outlines command (choose Type ➪ Create Outlines or press Shift+Ô+O or Ctrl+Shift+O) to convert text characters into a compound path and then place a blend behind the path so that it extends across all characters. Figure 16.22 shows an example of this in the center. Cross-Reference I explain the Create Outlines command in Chapter 22. n As you see in the center of Figure 16.22, I converted the text on the top into the editable outlines on the bottom. I then skewed the character outlines — which make up a compound path — by –30 degrees via the Shear X Angle field in the Control panel and applied a gradient fill. 25_607169-ch16.indd 41425_607169-ch16.indd 414 4/22/10 7:57 PM4/22/10 7:57 PM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. [...]... Conflicts) The Use InDesign Style Definition menu item preserves the current InDesign styles and applies them to any text in Word that uses a 435 Part V: Text Fundamentals style sheet of the same name This is the most common option because it lets your editors indicate what styles to use in InDesign but relies on InDesign s more precise typographic settings If you choose the Redefine InDesign Style menu... Unfortunately, you can’t export text from InDesign into the Word word processor format Your only options are RTF, InDesign Tagged Text, InCopy Document, InDesign Markup Language (IDML), and text-only formats The best option is RTF if you want to send the file to someone using a word processor, and it’s Tagged Text if you want to send it to another InDesign user with all InDesign settings retained After you... like any other text file in InDesign (In the Access CS Live panel, you can also export an InDesign story to the Buzzword service so others can work on it.) However, I don’t recommend using Buzzword with InDesign Why? Because it does not support styles, so all your text formatting is applied as local formatting Worse, if you transfer a story from InDesign to Buzzword, all InDesign styles are stripped... in InDesign layouts and with InDesign s text-formatting tools is simply too much to justify using Buzzword You’re better off sharing a Word or RTF file among collaborators 439 Part V: Text Fundamentals Import options for Tagged Text files InDesign offers a text-file format of its own: Adobe InDesign Tagged Text Tagged Text actually is ASCII (text-only) text that contains embedded codes to tell InDesign. .. effort in InDesign to undo or clean up Whether created in Word or not, text is imported into an InDesign publication to apply the layout and fine typographic formatting Besides importing files into InDesign, you can drag text into your layout and, through the use of the Macintosh and Windows Clipboards (copy and paste), you can import file formats, to a limited degree, not directly supported by InDesign. .. had in InDesign and in most other programs (A few programs don’t preserve that formatting when you paste text from them.) However, InDesign lets you control whether pasted text retains its formatting as follows: l When pasting text from InDesign, you can strip out its formatting by choosing File ➪ Paste without Formatting (or pressing Shift+Ô+V or Ctrl+Shift+V) l When pasting text from outside InDesign, ... released InDesign supports Microsoft Word for Windows versions 97, 2000, 2002/XP, 2003, and 2007, and Microsoft Word for Mac versions 98, 2001, X, 2004, and 2008, as well as the same-numbered versions of Excel Adding Text No matter where your text originates — in your mind, in e-mail, on the Web, or in a word processor — you can add it to an InDesign publication easily You can type text directly in InDesign, ... Pasting text When text is on the Mac or Windows Clipboard and the Type tool is active in InDesign, you can paste the text at the location of the cursor (text-insertion pointer) or replace highlighted text with it If no text frame is active, InDesign creates a new rectangular text frame to contain the pasted text InDesign uses standard menu commands and keyboard commands for cutting and copying text... object in the stack Using Other Path Effects InDesign provides several other functions to manipulate paths: the Convert Shape menu options, the Smooth tool, the Erase tool, and the Corner Options dialog box 418 Chapter 16: Drawing Free-form Shapes and Curved Paths Cross-Reference Chapter 12 explains how to use the Corner Options dialog box and InDesignCS5 s new live corner-editing capability n The... also drag text from external sources into InDesign: l You can drag the icon of a text file or a supported word processing file directly from the Windows Explorer (desktop or folder) or from the Mac Finder (desktop or folder) onto an InDesign page l You can drag highlighted text from a document created with another program (Microsoft Word, for example) into an InDesign document window 431 Part V: Text . Word 2010/2011 file format by releasing an update to InDesign CS5 after Microsoft releases Office 2010. InDesign also imports InCopy files. InCopy is an add-on. These match the options in the Object ➪ Convert Point submenu, also new to InDesign CS5. The Plain option removes the direction lines from the corner point,