Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Adobe Creative Suite

This chapter is from the book

Editing paths and shapes

In Illustrator, you can edit and combine paths and shapes in a variety of ways to achieve the artwork you want. Sometimes, to get the artwork you desire, you start simpler and utilize different methods for achieving more complex paths. This includes working with the Scissors tool (scissorstool_lg_n.jpg), the Knife tool (knifetool_lg_n.jpg), the Width tool (widthtool_lg_n.jpg), the Shape Builder tool (shapebuildertool_lg_n.jpg), Pathfinder effects, the Eraser tool (erasertool_lg_n.jpg), 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 (scissorstool_lg_n.jpg), which splits a path at an anchor point or on a line segment and makes an open path. Next, you’ll cut a shape with the Scissors tool to reshape it.

  1. Choose View > Smart Guides to ensure that they are on.
  2. Choose “2 Bird 1” from the Artboard Navigation menu in the lower-left corner of the Document window.
  3. Choose View > Fit Artboard In Window.
  4. Select the Zoom tool (zoomtool_lg_n.jpg) in the Tools panel, and click twice on the red shape in the upper-right corner of the artboard to zoom in.
  5. Select the Selection tool (selectiontool_lg_n.jpg) in the Tools panel, and click the red shape to select it.
  6. With the shape selected, in the Tools panel, click and hold down the Eraser tool (erasertool_lg_n.jpg), and select the Scissors tool (scissorstool_lg_n.jpg). Position the pointer over the blue anchor point on the path on the left side (see the figure), and when you see the word “anchor,” click to cut the path at that point.

    If you don’t click directly on a point or path, you will see a warning dialog box. You can simply click OK and try again. Cuts made with the Scissors tool must be on a line or a curve rather than on an end point of an open path. When you click with the Scissors tool, a new anchor point is created and is selected.

  7. Choose View > Smart Guides to turn them off.
  8. Select the Direct Selection tool (directselectiontool_lg_n.jpg), and drag the anchor point you just clicked to the left.

  9. Drag the other anchor point, from where you originally cut the path with the scissors, up and to the left (see the figure).

    Notice how the stroke (the black border) doesn’t go all the way around the red shape. That’s because cutting with the Scissors tool makes an open path. A circle or rectangle are examples of closed paths, and a line or “S” shape are examples of open paths (the end points are not connected). If you only want to fill the shape with a color, it is not necessary to join the path to make a closed path. An open path can have a color fill. It is, however, necessary to join a path if you want a stroke to appear around the entire fill area.

Joining paths

Suppose you draw a “U” shape and later decide you want 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 together to create a closed path. You can also join the end points of two separate paths.

Next, you will join the ends of the red path to create a single closed shape.

  1. Select the Selection tool (selectiontool_lg_n.jpg) in the Tools panel. Click away from the red path to deselect it, and then click in the red 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, 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.

  2. Choose Object > Path > Join.

    Notice that the two anchor points on the left side of the paths are now joined with a straight path and the stroke (black border) goes all the way around now.

  3. Choose Select > Deselect to see the closed path.

    When you apply the Join command to two or more open paths, Illustrator first looks for and joins the paths that have end points stationed closest to each other. This process is repeated every time you apply the Join command until all paths are joined.

  4. Click the red path to select it again.
  5. Select the Eyedropper tool (eyedroppertool_lg_n.jpg) in the Tools panel, and click the blue circle in the center of the artboard.

    The Eyedropper tool samples the appearance attributes like stroke and fill from what you click and applies those same appearance attributes to the selected artwork, if it can.

  6. Select the Selection tool, and drag the formerly red shape into position like you see in the figure.
  7. Choose Select > Deselect.

Cutting with the Knife tool

Another way to cut a shape is by using the Knife tool (knifetool_lg_n.jpg). To cut with the Knife tool, you drag across a shape, and the result is two closed paths.

  1. Choose “3 Bird 2” from the Artboard Navigation menu in the lower-left corner of the Document window.
  2. Click and hold down the mouse on the Scissors tool (scissorstool_lg_n.jpg), and select the Knife tool (knifetool_lg_n.jpg).
  3. Position the Knife pointer (knife_cursor.jpg) above the green shape toward the top of the artboard. Starting above the shape (see the red X in the figure), drag down all the way across the shape to cut the shape into two.

    Dragging across a shape with the Knife tool makes a very free-form cut that is not straight at all.

  4. Position the pointer above the green shape, to the right of where you just cut. Press and hold Option+Shift (Mac OS) or Alt+Shift (Windows) and drag down all the way across the shape to cut it into two, in a completely straight line. Release the mouse button and then the keys.

    Pressing the Option key (Mac OS) or Alt key (Windows) allows you to cut in a straight line. Pressing the Shift key as well constrains the cut to 45 degrees.

  5. While pressing the keys in the previous step, try making two more cuts to the right of the cut you just made.

    Don’t worry about making the resulting shapes exactly the same width. See the figure for roughly where to cut.

  6. Choose Select > Deselect.
  7. Select the Selection tool (selectiontool_lg_n.jpg), and click the first green shape from the left to select it. Choose the CMYK Cyan color from the Fill color in the Control panel.

    When you hover the pointer over a color in the panel that appears, you can see a yellow tooltip with the color name appear.

  8. Click the green shape farthest to the right to select it. Choose a red color from the Fill color in the Control panel. I chose a color with the name “C=15 M=100 Y=90 K=10.” See the following figure.
  9. With three green shapes left, click the middle green shape to select it. Choose an orange color with the name “C=0 M=80 Y=95 K=0” from the Fill color in the Control panel.

  10. Drag across all of the shapes you cut to select them. Change the Stroke weight to 0 in the Control panel.
  11. Choose Select > All On Active Artboard, and then choose Object > Group.
  12. Choose Select > Deselect, and then choose File > Save.

Using the Eraser tool

The Eraser tool (erasertool_lg_n.jpg) lets you erase any area of your vector artwork, regardless of the structure. You can use the Eraser tool on paths, compound paths, paths inside Live Paint groups, and clipping content.

Next, you’ll use the Eraser tool to modify several shapes.

  1. Choose 2 Bird 1 from the Artboard Navigation menu in the lower-left corner of the Document window.
  2. With the Selection tool (selectiontool_lg_n.jpg), select the smaller white circle toward the upper-left corner of the artboard.

    By selecting the white shape, you’ll erase only that shape and nothing else. If you leave all objects deselected, you can erase any object that the tool touches, across all layers.

  3. Click and hold down the mouse on the Knife tool (knifetool_lg_n.jpg), and select the Eraser tool (erasertool_lg_n.jpg) in the Tools panel.
  4. Double-click the Eraser tool (erasertool_lg_n.jpg) to edit the tool properties. In the Eraser Tool Options dialog box, change the Size to 20 pt. Click OK.

  5. Position the pointer off the upper-left corner of the white circle (where you see the red X in the figure). Click and drag across the circle in a “U” shape to erase the top half of the circle.

    When you release the mouse button, the top half of the circle is erased, and the circle is still a closed path.

  6. Change the Stroke weight to 0 in the Control panel, and choose a blue from the Fill color. I chose a blue with the color name of “C=85 M=50 Y=0 K=0” that appears in the yellow tooltip when you hover over each color swatch.

    You can also erase in a straight line, which is what you’ll do next.

  7. Select the Selection tool, and click the white circle in the lower-right corner of the artboard.
  8. Select the Eraser tool (erasertool_lg_n.jpg) in the Tools panel. Press the Shift key and starting off the left side of the white circle, drag across the top half of the circle. Release the mouse button and then the Shift key.

    The white circle is now two separate shapes, both closed paths.

  9. Drag across the remaining shape at the top to erase it completely. You may need to drag across is a few times to erase it all.

    It may look like you erase part of the blue shape, but since it isn’t selected, it isn’t erased.

  10. With the last part of the circle still selected, select the Eyedropper tool (eyedroppertool_lg_n.jpg) in the Tools panel, and click the small blue circle you erased part of earlier (in the upper-left corner of the artboard).

    This copies the appearance attributes like fill and stroke from the small shape to the larger shape.

  11. With the larger blue shape selected, choose Object > Transform > Rotate. In the Rotate dialog box, change the Angle to -20, and select Preview to see the change. Click OK.

  12. Select the Selection tool in the Tools panel. Drag each shape from its center onto the large blue circle in the center to create a bird (see the figure for guidance).
  13. Choose Select > All On Active Artboard, and then choose Object > Group.
  14. Choose File > Save.

Combining shapes

In Illustrator, you can combine vector objects in a variety of ways. A lot of the time, creating more complex shapes from simpler shapes can be easier than trying to create them with drawing tools like the Pen tool. The resulting paths or shapes differ depending on the method you use to combine the paths. In this section, you’ll explore a few of the more widely used methods for combining shapes.

Working with the Shape Builder tool

The first method you will learn for combining shapes involves working with the Shape Builder tool (shapebuildertool_lg_n.jpg). This tool allows you to visually and intuitively merge, delete, fill, and edit overlapping shapes and paths directly in the artwork. Using the Shape Builder tool, you’ll start out by creating a more complex bird shape from a series of simpler shapes like circles and squares.

  1. Choose 4 Butterfly from the Artboard Navigation menu in the lower-left corner of the Document window.
  2. Choose View > Fit Artboard In Window to ensure it fits in the Document window.
  3. Select the Zoom tool (zoomtool_lg_n.jpg) in the Tools panel, and click a few times on the red and green shape on the left side of the artboard to zoom in.
  4. Select the Selection tool (selectiontool_lg_n.jpg), and drag a marquee selection across the red/orange rectangle, white circles, and green rectangle to select the shapes on the artboard.

    In order to edit shapes with the Shape Builder tool (shapebuildertool_lg_n.jpg), they need to be selected. Using the Shape Builder tool, you will now combine, delete, and paint these simple shapes to create the rest of a butterfly’s wings.

  5. Select the Shape Builder tool (shapebuildertool_lg_n.jpg) in the Tools panel. Position the pointer off the upper-left corner of the shapes, and drag from the red X in the figure down and to the right into the red/orange rectangle. Release the mouse button to combine the shapes.

    When you select the Shape Builder tool, the overlapping shapes are divided into separate objects temporarily. As you drag from one part to another, a red outline appears, showing you what the final shape outline will look like when it merges the shapes together after releasing the mouse button. Notice that the new combined shape is now the same blue as the bird shape you created previously.

  6. Position the pointer off the upper-right corner of the shapes, and drag from the red X in the figure down and to the left into the red/orange rectangle. Release the mouse button to combine the shapes.

    Next, you’ll delete a few shapes.

  7. With the shapes still selected, hold down the Option (Mac OS) or Alt (Windows) key. Notice that, with the modifier key held down, the pointer shows a minus sign (shape_minus.jpg). Click each red shape to delete them.

  8. Double-click the Shape Builder tool in the Tools panel. In the Shape Builder Tool Options dialog box, select Straight Line from the Selection options. Click OK to close the dialog box.

    By default, the Shape Builder tool lets you drag across shapes in a freeform way.

  9. With the shapes still selected, hold down the Option (Mac OS) or Alt (Windows) key and drag through the green shape in the center from top to bottom to remove it.

  10. Select the Selection tool. With the blue shapes still selected, change the Fill color to an orange/red color with the tooltip name that shows as “C=0 M=90 Y=85 K=0.”
  11. Choose Object > Group to group the now orange shapes together.
  12. Choose View > Fit Artboard In Window.
  13. Select the Selection tool and drag one of the orange shapes in the group to the right side of the artboard, above the yellow shapes. See the following figure for how to position them.
  14. Drag the orange/yellow shape (an arrow is pointing to it in the figure) into the center of the wing shapes.
  15. Choose Select > Deselect, and then choose File > Save.

Working with the Pathfinder panel

The Pathfinder panel is another place to combine shapes in different ways. When a shape mode such as Unite is applied, the original objects selected are permanently transformed, but you can hold down a modifier key, and the original underlying objects are preserved.

04fig31.jpg

When a Pathfinder effect such as Merge is applied, the original objects selected are permanently transformed. If the effect results in more than one shape, they are grouped automatically.

  1. Choose 5 Bird 3 from the Artboard Navigation menu in the lower-left corner of the Document window.
  2. Choose Window > Pathfinder to open the Pathfinder panel group.
  3. With the Selection tool (selectiontool_lg_n.jpg), hold down the Shift key, and click the red oval and blue rectangle beneath it to select both objects.

    You need to create a shape that looks like a bird wing. You will use the Pathfinder panel and those shapes to create the final artwork.

  4. With the shapes selected, in the Pathfinder panel, click the Minus Front button (minus_front.jpg) in the Shape Modes section of the Pathfinder panel to permanently subtract the top shape from the bottom shape.

    With the new shape selected, notice the word “Path” on the left side of the Control panel.

  5. Choose Edit > Undo Subtract to bring both shapes back. Leave them selected.

Shape modes in the Pathfinder panel

The buttons in the top row of the Pathfinder panel, called shape modes, create paths just like the Pathfinder effects, but they can also be used to create compound shapes. When several shapes are selected, clicking a shape mode while pressing the Option (Mac OS) or Alt (Windows) key creates a compound shape rather than a path. The original underlying objects of compound shapes are preserved. As a result, you can still select each original object within a compound shape. Using a shape mode to create a compound shape can be useful if you think that you may want to retrieve the original shapes at a later time.

  1. With the shapes still selected, hold down the Option (Mac OS) or Alt (Windows) key, and click the Minus Front button (minus_front.jpg) in the Shape Modes section of the Pathfinder panel.

    This creates a compound shape that traces the outline of what’s left after the top red shape is subtracted from the bottom blue shape. You will still be able to edit both shapes separately.

  2. Choose Select > Deselect to see the final shape.
  3. With the Selection tool, double-click the blue shape to enter Isolation mode.

    You could also double-click the (now) white oval, but that one is harder to see.

  4. Choose View > Outline so that you can see the outlines of the two shapes, and click the edge of the oval shape or drag across the path to select it.

  5. Choose View > GPU Preview or View > Preview On CPU if not available.
  6. Drag the white oval from the middle a little to the left.

  7. Press the Escape key to exit Isolation mode.

    You will now expand the wing shape. Expanding a compound shape maintains the shape of the compound object, but you can no longer select or edit the original objects. You will typically expand an object when you want to modify the appearance attributes and other properties of specific elements within it.

  8. Click away from the shape to deselect it, and then click to select it again.
  9. Click the Expand button in the Pathfinder panel. Close the Pathfinder panel group.

  10. Drag the blue wing shape on top of the bird like you see in the figure.
  11. Choose Select > All On Active Artboard, and then choose Object > Group.

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 to create some art for the butterfly.

  1. Choose 4 Butterfly from the Artboard menu in the lower-left corner of the Document window.
  2. Choose View > Fit Artboard In Window.
  3. With the Selection tool (selectiontool_lg_n.jpg) selected, select the white circle with the black stroke. Drag it onto the larger orange circle above it, a little off-center.

  4. Drag across both shapes to select them.
  5. Drag the shapes onto the larger orange wing of the butterfly. Notice that the white circle is on top and you can’t see through it.

  6. Choose Object > Compound Path > Make, and leave the artwork selected.

    You can now see that the white circle has seemingly disappeared, and you can now see through the shape to the reddish-orange color of the butterfly wing. The white circle was used to “punch” a hole in the orange shape. With the shape still selected, you should see “Compound Path” on the left end of the Control panel above the Document window.

  7. Option-drag (Mac OS) or Alt-drag (Windows) the new compound path to the right side of the orange wing shape. Release the mouse button and then the key.

  8. Select all of the shapes for the butterfly by choosing Select > All On Active Artboard.
  9. Choose Object > Group.
  10. Choose Object > Transform > Rotate. In the Rotate dialog box, change Angle to -45, select Preview, and then click OK.

  11. Choose File > Save.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020