Editing paths and shapes
In Illustrator, you can edit and combine paths and shapes in a variety of ways to create your own artwork. Sometimes that may mean starting with simpler paths and shapes and using different methods to produce more complex paths. This includes working with the Scissors tool (), the Knife tool (), and the Eraser tool (); outlining strokes; joining paths; and more.
Cutting with the Scissors tool
There are several tools that allow you to cut and divide shapes. You’ll start with the Scissors tool (), which splits a path at an anchor point or on a line segment to create an open path. Next, you’ll cut a shape with the Scissors tool and reshape it.
Click the View menu, and make sure that the Smart Guides option is selected. A checkmark appears when it’s selected.
Choose 1 Dino 1 from the Artboard Navigation menu in the lower-left corner of the Document window. Choose View > Fit Artboard In Window to make sure the artboard fits in the document window.
Select the Selection tool () in the toolbar, and click the purple shape on the left side of the artboard.
Press Command and + (macOS) or Ctrl and + (Windows) three times to zoom in to the selected artwork.
After you modify this shape, you’ll add it to the dinosaur head on the right side of the same artboard to complete the beak.
With the shape selected, in the toolbar press and hold on the Eraser tool (), and select the Scissors tool ().
Move the pointer over the top edge of the shape, in the middle (see the first part of the following figure). When you see the word “intersect” and a vertical magenta line, click to cut the path at that point and then move the pointer away.
Cuts made with the Scissors tool must be somewhere on a line or a curve rather than on an end point of an open path. When you use the Scissors tool to click the stroke of a closed shape, like the shape in this example, the path is cut where you click so that it becomes an open path.
Select the Direct Selection tool () in the toolbar. Move the pointer over the selected (blue) anchor point and drag it up.
From where you originally cut the shape, drag the other anchor point up and to the left until a magenta alignment guide shows, indicating it’s aligned with the other anchor point you just dragged.
Notice that the stroke (the yellow border) doesn’t go all the way around the shape. That’s because cutting a shape with the Scissors tool makes an open path. If you only want to fill the shape with a color, it doesn’t have to be a closed path. It is, however, necessary for a path to be closed if you want a stroke to appear around the entire fill area.
Suppose you draw a “U” shape and later decide to close the shape, essentially joining the ends of the “U” with a straight path. If you select the path, you can use the Join command to create a line segment between the end points, closing the path.
When more than one open path is selected, you can join them to create a closed path. You can also join selected end points of two separate paths. Next, you’ll join the ends of the path you just edited to create a closed shape again.
Select the Selection tool () in the toolbar. Click away from the path to deselect it and then click in the purple fill to reselect it.
This step is important because only one anchor point was left selected from the previous section. If you were to choose the Join command with only one anchor point selected, an error message would appear. By selecting the whole path, when you apply the Join command, Illustrator simply finds the two ends of the path and connects them with a straight line.
Click the Join button in the Quick Actions section of the Properties panel.
When you apply the Join command to two or more open paths, by default Illustrator first looks for and joins the paths that have end points located closest to each other. This process is repeated every time you apply the Join command until all paths are joined.
In the Properties panel, change the stroke to 0 by clicking the down arrow icon until the stroke is removed.
Next, you’ll round the corners on the top of the shape.
Select the Direct Selection tool () in the toolbar and drag across the top of the shape to select the top two anchors.
Drag one of the corner radius widgets toward the center of the shape to round the corners.
Choose Select > Deselect and then choose File > Save.
Cutting with the Knife tool
You can also use the Knife tool () to cut vector artwork. Using the Knife tool, you drag across a shape, and instead of creating open paths, you end up with closed paths.
Press the spacebar to access the Hand tool, and drag in the document window to see the green shape to the right.
With the Selection tool () selected, click the green shape.
Any objects selected will be cut by the Knife tool. If nothing is selected, it will cut any vector objects it touches.
Click Edit Toolbar () at the bottom of the toolbar. Scroll in the menu that appears and toward the bottom of the menu you should see the Knife tool (). Drag the Knife tool directly onto the Scissors tool () in the toolbar. When the Scissors tool shows a highlight, release to add the Knife tool to the list of tools.
Press the Escape key to hide the menu.
With the Knife tool now selected in the toolbar, move the Knife pointer () above the selected shape. Drag in a “U” shape to cut into the shape.
Choose Select > Deselect.
Select the Selection tool (), and click the new shape on the top (see the following figure).
Click the Fill color box in the Properties panel, make sure the Swatches option () is selected in the panel that appears, and click to select a darker green. I chose the color named Dark green.
Choose Select > Deselect.
Cutting in a straight line with the Knife tool
By default, as you just saw, dragging across a shape with the Knife tool makes a free-form cut that is not straight. Next, you’ll see how to cut artwork in a straight line with the Knife tool to give the dinosaur head (the green shape) a highlight.
With the Selection tool () selected, click the large light green shape.
Select the Knife tool (). Move the pointer just above the top of the shape. Press the Caps Lock key to turn the Knife tool pointer into crosshairs ().
The crosshairs pointer is more precise and can make it easier to see exactly where you begin cutting.
Press and hold Option+Shift (macOS) or Alt+Shift (Windows), and drag down all the way across the shape to cut it into two. Release the mouse button and then the keys.
Press and hold Option (macOS) or Alt (Windows), and drag down from the top of the shape, down, at a slight angle, all the way across the shape to cut it into two. Release the mouse button and then the key. This way, you can cut in a straight line in any direction.
Choose Select > Deselect.
Select the Selection tool (), and click the middle shape you just created (see the first part of the following figure).
Click the Fill color box in the Properties panel, make sure the Swatches option () is selected in the panel that appears, and click to select a lighter green.
Drag across all of the green shapes to select them.
Click the Group button in the Quick Actions section of the Properties panel.
Press the Caps Lock key to turn off the pointer crosshairs.
A path, like a line, can show a stroke color but not a fill color by default. If you create a line in Illustrator and want to apply both a stroke and a fill, you can outline the stroke of a path, which converts it into a closed shape (or compound path). Next, you’ll outline the stroke of a line so you can erase parts of it in the next section to make the final part used to complete the first dinosaur.
Press the spacebar to access the Hand tool and drag in the document window to see the purple circle to the right.
With the Selection tool () selected, click the path of the purple circle.
To erase part of the circle and make it look like a dinosaur frill, the circle will need to be a filled shape, not a path. For an example of what a frill looks like, see the figure at the start of the next section, “Using the Eraser tool.” You should also see a set of gray lines that look like the spokes of a wheel. Those are just guides used for erasing. They were created by duplicating a straight line several times, and individually rotating each line 30° from the last.
Choose Object > Path > Outline Stroke.
This creates a filled shape that is a closed path. Next, you’ll erase parts of the shape.
Using the Eraser tool
The Eraser tool () lets you erase any area of your vector artwork. You can use the Eraser tool on paths, compound paths, paths inside Live Paint groups, and clipping content. Whatever artwork you select is the only artwork you will erase. If you leave all objects unselected, you can erase any object that the tool touches across all layers. Next, you’ll use the Eraser tool to erase part of the selected shape so it looks like a triceratops frill (see the figure).
Press and hold down the mouse button on the Knife tool (), and select the Eraser tool () in the toolbar.
Double-click the Eraser tool () in the toolbar to edit the tool properties. In the Eraser Tool Options dialog box, change Size to 30 pt to make the eraser larger. Click OK.
You can change the Eraser tool options, depending on your needs.
Move the pointer above the selected purple circle. Between two guide lines, drag in a “U” shape to create a scallop.
When you release the mouse button, part of the shape is erased, and the shape is still a closed path. To finish, you’ll erase the bottom of the circle shape.
Repeat this around the circle as you see in the figure, leaving the bottom intact.
Move the pointer as in the first part of the following figure. Drag back and forth across the bottom of the purple circle to erase it.
Erasing in a straight line
You can also erase in a straight line, which is what you’ll do next.
Press the spacebar to access the Hand tool, and drag in the document window to see the partially complete dinosaur to the right.
With the Selection tool () selected, click the cream-colored nose horn.
Choose View > Zoom In a few times to see more detail.
Double-click the Eraser tool () to edit the tool properties. In the Eraser Tool Options dialog box, change Size to 20 pt to make the eraser smaller. Click OK.
With the Eraser tool () selected, move the pointer to where you see the red “X” in the first part of the following figure. Press the Shift key, and drag straight across to the right. Release the mouse button and then the Shift key.
If nothing is erased, try again. Also, it may look like you erased other parts of the shape, but if nothing else was selected, you didn’t.
Choose File > Save.
Assemble the first dinosaur
To complete the dinosaur you see, you’ll drag and position the artwork you have worked on to this point.
Choose View > Fit Artboard In Window.
With the Selection tool () selected, drag the purple shape onto the beak of the dinosaur.
Drag the green group of shapes onto the head (see the following figure).
Drag the purple frill onto the purple circle behind the head.
If the purple frill covers any of the artwork, click Arrange toward the bottom of the Properties panel and choose Send Backward a few times until it looks like the figure.
Creating a compound path
Compound paths let you use a vector object to cut a hole in another vector object. Whenever I think of a compound path, I think of a doughnut shape, which can be created from two circles. Holes appear where paths overlap. A compound path is treated like a group, and the individual objects in the compound path can still be edited or released (if you don’t want them to be a compound path anymore). Next, you’ll create a compound path to create some art for a dinosaur’s eyes.
Choose 2 Dino 2 from the Artboard Navigation menu in the lower-left corner of the Document window.
With the Selection tool () selected, select the dark gray circle on the left, and drag it so it overlaps the larger yellow circle to its right.
Smart Guides help you align the circles. You can also select the two circles and align them to each other using the Align options in the Properties panel.
Drag across the gray circle and yellow circle to select both.
Choose Object > Compound Path > Make, and leave the artwork selected.
You can now see that the dark gray circle has seemingly disappeared, and you can see through the yellow shape to the aqua background shape. The dark gray circle was used to “punch” a hole in the yellow shape. With the shape still selected, you should see “Compound Path” at the top of the Properties panel to the right.
Drag the group of lines that is just to the right of the yellow shape, into the center of the yellow shape. The group of lines should be on top. If it isn’t, choose Object > Arrange > Bring To Front.
Drag across the eye shapes to select them.
Choose Object > Group.
Choose Select > Deselect, and then choose File > Save.